터미널 깃 계정 변경

2021. 1. 20. 15:25살면서 가끔 필요한 것 정리

반응형

현재 사용중인 터미널에서

 

git config user.name

git config user.email 

하여 현재 계정 정보 확인

 

git config --global user.name 바꿀계정이름

git config --global user.email 바꿀이메일주소 

하여 변경 후

 

git config user.name

git config user.email 

로 변경 된 계정 정보 확인

 

마지막으로 윈도우 자격증명 변경하기(아래 출처 참조)

제어판 > 사용자 계정 > 자격 증명 관리 > Windows 자격 증명 >일반 자격 증명

> 일반 자격증명 편집 > git:https://github.com 주소에 변경할 계정이름, 암호 등록

 


출처 : https://somjang.tistory.com/entry/Git-Git-Bash-터미널-계정-변경-방법 

출처 : skuld2000.tistory.com/147

반응형