깃 에러 해결 (git) could not read Username for 'https://github.com': No such file or directory
IT 관련 지식2022. 5. 19. 14:56
반응형
728x170
새로운 git 프로젝트를 만들고 push를 하려고 하는데
갑자기 "could not read Username for 'https://github.com': No such file or directory" 같은 에러가 발생한다...
원인을 보아하니 업데이트를 하면서 기존의 설정이 변경되어 이러한 에러가 발생하는거 같다
1. 해결 방법(Window)
AndroidStudio(안드로이드뿐 아니라 jetbrain의 IDE를 쓰는거면 다 똑같음)에 들어간다
상단의 File -> Settings -> Version Control -> Git -> (밑에 있는) "Use credential helper"에 체크를 한다
2. 해결방법 (Mac)
Android Studio Preferences -> Version Control -> Git -> "Use credential helper"에 체크를 한다
300x250
이렇게 하고 다시 push를 하면
token을 입력해라는 창이 뜨게된다
거기에 자신이 갖고 있는 git의 token을 넣으면된다
반응형
'IT 관련 지식' 카테고리의 다른 글
안드로이드 Out of memory. Java heap space 에러 해결 방법! (0) | 2022.07.02 |
---|---|
맥북 안드로이드 Studio does not have write access to 오류 (0) | 2022.06.04 |
[100% 해결]Git Private repository 클론(clone)시 not found 문제 (0) | 2022.05.14 |
100% 윈도우10 US키보드 삭제하는 법 (0) | 2021.02.19 |
깃허브) does not have a commit checked out 에러 해결방법 (0) | 2020.08.21 |
댓글()