Regarding the bare repository:
In my experience, it is more handy to *push* from the git-svn clone than to
You can then arrange the branches in the bare repo as you want them to be,
by only pushing the branches you wish to keep in the Git repository:
First initialize a bare repository:
> git init --bare src.git
Now, in the git-svn clone repo:
> git remote add bare ../src.git (or whereever it is)
> git push bare <branchname1>:<target-branchname1>
> git push bare <branchname2>:<target-branchname1>
and repeat till you've pushed over all the branches you want.
You can also push multipe branches using
It depends on what you want the branches in the git repository to look
Some people like having the branches look like normal git branches:
Other people like to emphasize that these branches come from subversion:
Git allows any convention you would like here, so you should decide what you
want it to look like, and then we can help you out with the commands. See
the examples section in the docs of git
or google around for more examples.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at