git - 删除远程仓库

标签 git bitbucket atlassian-sourcetree

我在 bitbucket 上创建了一个私有(private)存储库,并将我的更改推送到它,但我决定删除它。

现在,每次我进行提交时,系统都会提示我推送,当然......

如何在 SourceTree 中更改/修复此问题,以便我在本地 SourceTree 应用程序中不会收到提示和推送图标(向上箭头)?

enter image description here

最佳答案

我刚刚使用 SourceTree 3.4.5 测试了远程源删除:

您可以删除远程源,然后重新创建它:然后您的主分支将推送到正确的分支。

remove origin on SoruceTree

关于git - 删除远程仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67999828/

相关文章:

git - 重新设置分支以掌握恢复

ios - “git status”失败,代码为 128 : fatal: unable to read

git - SourceTree 终端自动加载 ssh key

git - 源树 : how to do a git diff in the opposite direction?

macos - Sourcetree 2.7.x 不使用来自钥匙串(keychain)的密码

git - 使用来自多个站点的 Git 子树 merge

git - git pull 密码错误 - 重新提示密码?

gitk 相当于 git log --follow <文件的完整路径>

git - 从 GitHub fork 到 Bitbucket

bitbucket - 没有可用的受支持的身份验证方法(服务器发送 : publickey)