본문 바로가기

Error log

[GIT] HttpRequestException encountered & Could not read Username for...

위와 같은 메세지가 출력된다면, 2가지를 확인해보자.

 

1. username이 config에 등록되어 있는지 확인

git config --list

 

2. git 버전을 최신으로 설치

본인은 2번이 문제였으며, 2.15버전을 사용하고 있었다.

2.23 버전으로 업데이트 하니 문제가 사라졌다.

 

Bug Fixes

Cleaned and hardened the interaction with the Windows Credential Manager.
To install the Git Credential Manager, download and double-click the GCMW-1.14.0.exe installer. It is that easy, it will even install Git for Windows 2.15.0) and the Microsoft .Net Framework for you if necessary.
For non-installation or custom installation needs, download the gcmw-v1.12.0.zip archive and expand its contents. Use the included install.cmd or options provided via git-credential-manager install to complete setup.