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.
  • 11,488
  • 4
  • 31
  • 44
Reem Al-Assaf
  • 615
  • 4
  • 14
  • 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,129,465
  • 480
  • 4,036
  • 4,755