Git修改密码后,push代码报“fatal: Authentication failed for”

公司实习,三个月更改域名密码,导致更改后git下拉没权限问题。

输入命令

git config --system --unset credential.helper
git config --global credential.helper store

然后再push就会提示输入用户名和新密码。

你可能感兴趣的:(Java,Git)