Answer

问题及解答

在 github 上修改密码后,使用 git clone 提示用户密码错误

Posted by haifeng on 2019-02-18 09:57:06 last update 2019-02-18 10:10:05 | Edit | Answers (1)

 

haife@hp MINGW64 /d/download/github
$ git clone https://github.com/haifeng2017/calculator.git
Cloning into 'calculator'...
fatal: HttpRequestException encountered.
   发送请求时出错。
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/haifeng2017/calculator.git/'

 

1

Posted by haifeng on 2019-02-18 10:04:24

在 Windows 下,这里是 Windows 10

打开控制面板

打开凭据管理器

 

https://stackoverflow.com/questions/40957380/remote-invalid-username-or-password-fatal-authentication-failed

Step 1: Control Panel
Step 2: Credential Manager
Step 3: Click Window Credentials
Step 4: In Generic Credential section ,there would be git url, edit and update username and password Step 5: Restart Git Bash and try for clone