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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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