Git svn push default

I have a git-svn repository in SourceTree. When I go to push, it always defaults the "Push to repository" selection to Subversion, but I always want to push to a Git remote - is there a way to set this default, or persuade SourceTree to remember the previous choice?

1 answer

This widget could not be displayed.

I had the same issue and this is how I fixed it,

Go to .git directory in your local repository directory, here you'll see some files and directories. Among those there is a directory called "svn". Rename it to somethign else like "svn-old" or something. This will make "Subversion" option go away from source tree.

In any case if you want it back just rename the directory back to "svn". Hope this will help.

Thanks! That helps, but it's a workaround rather than a solution. Ideally this would be configurable in the application, or at least the application would remember the last choice.

Yes I Agree... Lets see what atlassian has to say about this... :)

It's been 4.5 years since the question and SourceTree still has the same issue

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

868 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you