전에는 정확하게 github 계정으로 committer name이 찍혔는데, 노트북을 바꾸고는 아이디가 이닌 풀네임이 찍힙니다. git config -l 을 봐도 어디에서 풀네임 설정한게 없는데 말이죠.

뭘로 되는걸까요?

github profile에도 풀네임은 안 적었거든요.

asked Oct 26 '11 at 09:35

zziuni's gravatar image

zziuni
556


git config는 /etc/gitconfig(--system), ~/.gitconfig(--global), 프로젝트/.git/config에 저장된다고 하는데 다른 곳에도 저장되나요?

answered Oct 27 '11 at 12:11

pismute's gravatar image

pismute
111

추가로 GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL 이라는 환경변수가 있으면 환경변수의 것을 사용한다네요...

(Oct 27 '11 at 21:09) pismute
  git config user.name

여기에 설정되는거 아닌가요?

answered Oct 26 '11 at 10:20

Outsider's gravatar image

Outsider
1186

그게 안먹더라는 질문 이에요.

(Oct 26 '11 at 12:45) zziuni

셀프 답변입니다.

git와 github가 좀 다른거 같은데...

기본적으로 git config --global user.name 이 기준인건 알겠는데, 로그인 계정과 연동되는것 같습니다. log찍어보니 알겠내요. 계정명을 바꾸니 잘 찍힙니다. ㅎ

# log

commit 1d2f8ed6150fe022081c1d1824e35efacde423dc Author: luigi zziuni@gmail.com Date: Thu Oct 27 19:28:38 2011 +0900

testing committer userid

commit f2e1787dd8edce5ea49940888d88ad3ec8338fca Author: chi hoon Byun zziuni@chiui-MacBook-Air.local Date: Wed Oct 26 09:32:39 2011 +0900

testing commit. changed git config

commit 36a72489b9a74127352330052b33d64a26527f72 Author: chi hoon Byun zziuni@chiui-MacBook-Air.local Date: Tue Oct 25 18:52:30 2011 +0900

modify code block

commit fb98f4e74b4088a63e9533fe5cf1553b4340661a Author: chi hoon Byun zziuni@chiui-MacBook-Air.local Date: Mon Oct 24 16:18:43 2011 +0900

test

commit 8ff8248398a96dee7abc7141a74e3a583b99da60 Author: zziuni zziuni@gmail.com Date: Sat Oct 22 14:06:49 2011 +0900

answered Oct 27 '11 at 19:32

zziuni's gravatar image

zziuni
556

내 답변
toggle preview

구독:

로그인 후에는 모든 변경사항에 대해 구독할 수 있습니다.

Tags:

×1
×1

질문등록: Oct 26 '11 at 09:35

열람: 407 times

최종 수정: Oct 27 '11 at 21:09

관련 질문

powered by OSQA