0
昨天我的github回购站开始出现奇怪的问题,当时突然提示用户& passwd进行推送。 Git使用ssh进行设置,并且几个月内没有任何更改。'git remote'显示的URL不同于.git/config中设置的url。
$ git remote -v
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
$ cat .git/config
/-/
[remote "origin"]
url = [email protected]:user/repo.git
/-/
$ git config remote.origin.url
[email protected]:user/repo.git
通过远程set-url重新设置也不会改变任何东西。 bitbucket回购没有问题。我错过了一些改变吗?
它看起来像所有的东西都配置了github? –
在github上未找到任何相关配置。 – laur
您的回购协议仍然在github中创建? –