DevOps/Git
(오류 해결) invalid username or password
신웅철
2021. 11. 15. 20:00
목차
1. gitbash 사용자 정보 삭제
2. 토큰 생성 및 입력
3. 성공✨✨
사용자 정보 삭제
git credential-manager uninstall
토큰 생성
+ 커밋할 때마다 토큰을 매번 입력하지 않으려면 다음의 명령어를 통해 store 모드로 전환한다.
git config --global credential.helper store
참고자료
Creating a personal access token - GitHub Docs
Note: If you use GitHub CLI to authenticate to GitHub on the command line, you can skip generating a personal access token and authenticate via the web browser instead. For more information about authenticating with GitHub CLI, see gh auth login. Personal
docs.github.com