Inf*_*eus 4 git android bitbucket android-studio
我使用带有 bitbucket 的 Android Studio。我更改了存储库的名称,现在当我尝试推送时,收到消息Fatal error, repository not found。如何更新我的 Android Studio 项目上的新存储库名称以正确推送?提前致谢。
请参阅我的示例:转到终端,
cd projectFolder
git remote -v (it will show previous git url)
git remote set-url origin https://username@bitbucket.org/username/newName.git
git remote -v (double check, it will show new git url)
git push (do whatever you want.)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1562 次 |
| 最近记录: |