[英]Git: Setting the repository after changin the name in bitbucket
I have changed the name of a repository using bitbucket settings interface, 我使用bitbucket设置界面更改了存储库的名称,
but now I can't push from the command line 但现在我不能从命令行推出
remote: Repository tdkdev/tdkwebapp not found
fatal: repository 'https://nunito@bitbucket.org/tdkdev/tdkwebapp.git/' not found
你必须更新上游的原点:
git push --set-upstream origin tdkdev/tdkwebapp
您需要更新每个repo副本中的origin
:
git remote set-url origin https://nunito@bitbucket.org/tdkdev/new-location.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.