git-svn: importing branches later

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-svn: importing branches later

From: Michael Hendricks <hidden>
Date: 2016-06-15 22:43:08

I've cloned the trunk of a SVN repository using git-svn and now I want
to bring in just a couple of the branches from the same repository.
I've not been able to discover anything that works.  Basically, I've
done this

$ git svn clone $URL -T trunk git-repo

Now I want to import the 'foo' branch from the same SVN repo without
grabbing all the branches.  Any suggestions?

Thanks.

-- 
Michael

Re: git-svn: importing branches later

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:08

On 2007-05-07 13:07:06 -0600, Michael Hendricks wrote:
Now I want to import the 'foo' branch from the same SVN repo without
grabbing all the branches. Any suggestions?
I seem to recall that just adding another "fetch" line to the git-svn
configuration in .git/config will do this for you.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help