On 17 Wrz, 08:41, Marek Wywiał <onj...@gmail.com> wrote:
> On 17 Wrz, 05:55, Jeenu <jee...@gmail.com> wrote:
> > Hi,
> > I recently tried to pull the whole of SVN repository (and it's big)
> > with git svn. The command I used is:
> > git svn clone --stdlayout <svn_url>
> > The SVN repository itself had trunk/branches/tags layout. But what
> > happened when I finished the cloning is that master has been set to a
> > branch (the last one fetched, I guess), where I expected it to be set
> > to be the trunk. Is this the expected behavior? If not what should
> > have been the proper command to get master set to trunk?
> > Also, for what I have now, what's the best way to set master to the
> > trunk branch? Checking out back and forth is a pain since it's big.
> > Any other related tips are appreciated.
> after git svn clone you have all data copied to local machine.
> When You are at 'master' which points to not correct branch do:
> * git -m master trash # rename current branch
* git branch -m master trash
> * git checkout -b master trunk # create local 'master' branch tracked
> to remote 'trunk'
later you can delete local branch:
* git branch -D trash
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
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