使用git Bash Here 绑定账号密码错误后 无法自动重新绑定

当你使用git Bash Here输入错误密码后  无法自动让你重新输入密码,一直报错:

Cloning into 'shopping'...
remote: Incorrect username or password ( access token )
fatal: Authentication failed for 'https://gitee.com/caobiandejiezhi66/shopping.git/'
 

这个时候需要再次输入命令

 git config --system --unset credential.helper
 

这样在pull或者clone的时候会再次提示让你 输入账号和密码。

 

如果有更好的方法,忘留言交流。

你可能感兴趣的:(git)