Git 사용 시 push를 했는데 git에 표시가 안될 때, Git user를 변경하면 된다.

저의 경우 Git에서 유저네임을 바꿨는데 IDE에서 자동으로 변경이 안되어 push를 해도 표시가 안되는 상황이 발생했다.

 

메모차 기록..

 

 

git config user.name  과  git config user.email 명령어를 사용하여 현재 git 정보와 동일한지 확인 후

git config user.name

git config user.email

 

다르다면 git config --local user.name {input name} 과 git confing --local user.email {input email} 명령어를 통해 정보를 변경

 

git config --global user.name {input name}

git confing --global user.email {input email}

 

 

아까 git config 명령어로 변경되었는지 확인.

 

+ Recent posts