관리 메뉴

JIHYUN JEONG

Git 다른아이디로 로그인해서 push할때 에러날 경우 본문

Information Technology/Tool

Git 다른아이디로 로그인해서 push할때 에러날 경우

StopHyun 2018. 10. 10. 17:19

push할때 다른 아이디로 credential이 설정되어 있어서 denied 될때 

아래의 커맨드를 사용하면 된다.


git config --local credential.helper ""


기타 유용한 git command


- 기존의 히스토리 삭제

 rm -rf .git


- git 저장소 연결 후 강제 push

 git push -u --force origin master


- 환경설정 확인

 git config --global -l




Comments