인프런 커뮤니티 질문&답변

promotion님의 프로필 이미지

작성한 질문수

쉽고 자연스럽게 배워보는 Javascript 입문 - 코드스쿼드 마스터즈 코스 레벨1

개발 환경 구축

Push 에서 github 오류가 뜨는데요

20.09.27 20:27 작성

·

168

0

본문을 보아하니 Invalid username or password.

이게 오류같은데 계정 셋팅을 

Setting에 가서 했는데도 안되네요.. 혹시 어디서 해야할까요

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master 

Pushing to https://github.com/EricKim-Changetheworld/jsplayground3

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/EricKim-Changetheworld/jsplayground3/'

Pushing to https://github.com/EricKim-Changetheworld/jsplayground3

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/EricKim-Changetheworld/jsplayground3/'

Pushing to https://github.com/EricKim-Changetheworld/jsplayground3

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/EricKim-Changetheworld/jsplayground3/'

Pushing to https://github.com/EricKim-Changetheworld/jsplayground3

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/EricKim-Changetheworld/jsplayground3/'

Completed with errors, see above

답변 1

-1

호눅스님의 프로필 이미지
호눅스
지식공유자

2020. 09. 28. 17:17

안녕하세요? 설정에서 안 될 경우 몇 가지 해결책이 있는데요.

1) github 저장소 주소를 https://사용자아이디@github.com/.../... 으로 변경해 본다.

2) 윈도우라면 자격 증명 관리자, 맥이라면 osxkeychain 에서 깃헙관련 사용자 정보를 삭제해 보세요.

https://yunseul-light.blogspot.com/2017/08/github-windows-git.html 참고해 보시고 그래도 안 되면 검색해 보세요. 워낙 오류의 종류가 많고 해결책도 다양하게 나옵니다.