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

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 Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

718 views 3 2
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