Git svn push default

Deleted user July 18, 2013

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

0 votes
Thanura Siribaddana July 14, 2014

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.

Deleted user July 14, 2014

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.

Thanura Siribaddana July 15, 2014

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

SergeyI February 4, 2018

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

Like briank likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events