2

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

Igal S.
  • 13,146
  • 5
  • 30
  • 48
Reem Al-Assaf
  • 734
  • 6
  • 19
  • 3
    Not sure how to do that in bitbucket, but see here how to do it from command line: https://stackoverflow.com/questions/16330404/how-to-remove-remote-origin-from-git-repo – Igal S. Jun 16 '21 at 09:22

1 Answers1

2

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

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250