git

Error: Logon failed, use ctrl+c to cancel basic credential prompt

lado 2021. 5. 29. 12:21

오류 내용

원격 저장소에 push 하니 github 로그인 창이 떴다. 유저 네임, 비밀번호를 입력하기 전인지 후인지 기억 안나는데 아무튼 아래와 같은 에러메시지가 떴다. 그리고 push 할 때마다 로그인 창이 계속 떴다.

Logon failed, use ctrl+c to cancel basic credential prompt

 

해결

깃 업데이트의 문제였다. git bash에 아래와 같은 명령어를 입력하면 git for windows를 업데이트 할 수 있다.

git update-git-for-windows

 

참고 블로그

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=yu-jung31476&logNo=222203204826 

 

추가 문제

업데이트할 때도 에러가 떴다. 아래와 같은 메시지가 뜨면서 ssh-agent.exe 를 닫으라고 한다.

Setup cannot continue until you close at least those applications in the list that are marked as "closing is required

 

Ctrl+Alt+Del 키를 눌러서 [작업관리자]에 들어간 다음에 백그라운드 프로세스를 보면 ssh-agent가 있다. 그걸 강제 종료하면 업데이트를 마칠 수 있다.

 

'git' 카테고리의 다른 글

Error: Permission to 유저/레포 denied to 다른 유저(Windows)  (0) 2021.05.28