threads / discuss / 17157

Getting new branches from SVN?

Subject: Getting new branches from SVN?

## tl;dr

2 messages between Jan 13, 2009 and Jan 13, 2009.

replies: 1people: 2as markdown or json

Andrew Selder· Jan 13, 2009, 23:44 UTC · lore
Hi.
We started using git-svn at my company and it's going pretty well so far.

The only problem I have is that when new branches and tags are created in SVN, how do I get those branches to show up in git as remote branches.

I did the normal git svn clone -s -prefix svn/ .... and it found all the branches and tags up to that point.

But since then, a couple new SVN branches and tags have been created, and I need them to appear in my git repo.

I'm sure I just missed something simple, but I couldn't find this.
Thanks,
Andrew
Björn Steinbrink· Jan 13, 2009, 23:55 UTC · re: Andrew Selder · lore

Re: Getting new branches from SVN?

On 2009.01.13 23:44:13 +0000, Andrew Selder wrote:
Show 14 quoted lines
> Hi.
> 
> We started using git-svn at my company and it's going pretty well so far.
> 
> The only problem I have is that when new branches and tags are created in SVN,
> how do I get those branches to show up in git as remote branches.
> 
> I did the normal git svn clone -s -prefix svn/ .... and it found all the
> branches and tags up to that point. 
> 
> But since then, a couple new SVN branches and tags have been created, and I need
> them to appear in my git repo.
> 
> I'm sure I just missed something simple, but I couldn't find this.
"git svn fetch" should get them.
Björn

← back to recent threads