Github很明显它不接受用户名:
https://help.github.com/articles/error-permission-denied-publickey/
我尝试将远程存储库设置如下:
git remote set-url origin git@github.com:organization/reponame.git
当我这样做
git remote -v
然后显示
origin git@github.com:organization/reponame.git (fetch)
origin ssh://username@github.com/organization/reponame.git (push)
为什么我的推送URL仍然具有用户名?