Search code examples
gitbitbucketatlassian-sourcetree

Removing a remote repo


I had created a private repo on bitbucket and been pushing my changes to it, but I decided to delete it.

Now, every time I make a commit, I am prompted to push, of course...

How do I change/fix this in SourceTree, so that I don't get the prompt and push icon (upward arrow) in my local SourceTree app?

enter image description here


Solution

  • I just tested a remote origin deletion with SourceTree 3.4.5:

    You can remove the remote origin, then recreate it: your master branch will then push to the right one.

    remove origin on SoruceTree