Git: 在 bitbucket 中更改名称后设置存储库

Git: Setting the repository after changin the name in bitbucket

我已经使用 bitbucket 设置界面更改了存储库的名称,

但现在我无法从命令行推送

remote: Repository tdkdev/tdkwebapp not found
fatal: repository 'https://nunito@bitbucket.org/tdkdev/tdkwebapp.git/' not found

您必须更新源上游:

git push --set-upstream origin tdkdev/tdkwebapp

您需要更新每个回购副本中 origin 点的位置:

git remote set-url origin https://nunito@bitbucket.org/tdkdev/new-location.git