[WINDOW] 

1.확인하는 방법

이름 : git config --global user.name

이메일 : git config --global user.email

 

2. 변경하는 방법

이름 : git config --global [user.name](<http://user.name>) [이름]

이메일 : git config --global [user.email](<http://user.email>) [이메일]

  • 현재 특정 project나 repository에서만 다른 계정으로 commit, push 하고 싶은 경우
  • 이름 : git config --local [user.name](<http://user.name>) [이름]

이메일 : git config --local [user.email](<http://user.email>) [이메일]

(+) git 계정의 설정을 확인하고 싶다면 git config --list

 

 

[Ubuntu] 

push 작업 이전에 다음 실행

git config --global user.name "qqoqob"

git config --global user.email "aaa@naver.com"

'git' 카테고리의 다른 글

[git] 초보를 위한 참고자료  (0) 2023.07.12
[git] 원하는 log 버전으로 돌아가기  (0) 2023.07.12
[git] tag 관련  (0) 2023.07.12
[git] repogitory 없애기  (1) 2023.07.12

+ Recent posts