-
新用户名
git config --global user.name "Sam Smith"
git config --global user.email sam@example.com -
清除以前保存的密码
git config --global --unset credential.helper
git config --system --unset credential.helper -
配置项目新的 remote url
git remote set-url origin https://UserA@github.com/UserA/repoA.git
重新 pull 就会提示输入新的密码












网友评论