# git-svn branches creation question

3 messages from 2008-06-26 to 2008-06-26. Participants: Pascal Obry, Avery Pennarun.
Thread: https://gitlist.dev/t/14164

## Pascal Obry, 2008-06-26 15:55

Subject: git-svn branches creation question
Message-ID: <4863BBFB.8010305@obry.net>
URL: https://gitlist.dev/e/4863BBFB.8010305%40obry.net

```

Is it possible to create and track new branches (or tags) using git-svn?

I know how to track existing branches, but new ones?

Some context. I'm tracking a CVS repository doing update from time to 
time on the master branch (using simply rsync and git-svn dcommit). Now 
I want to add a new tag for updates on the master. Currently I'm using 
svn copy. I'd like to do this directly from Git.

Thanks.

-- 
    Pascal Obry
    --
    gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

```

## Avery Pennarun, 2008-06-26 16:08

Subject: Re: git-svn branches creation question
Message-ID: <32541b130806260908m7ca2060bub071da52aa7a33ce@mail.gmail.com>
URL: https://gitlist.dev/e/32541b130806260908m7ca2060bub071da52aa7a33ce%40mail.gmail.com
In-Reply-To: <4863BBFB.8010305@obry.net>

```
On 6/26/08, Pascal Obry <pascal@obry.net> wrote:
>  Is it possible to create and track new branches (or tags) using git-svn?
>
>  I know how to track existing branches, but new ones?
>
>  Some context. I'm tracking a CVS repository doing update from time to time
> on the master branch (using simply rsync and git-svn dcommit). Now I want to
> add a new tag for updates on the master. Currently I'm using svn copy. I'd
> like to do this directly from Git.

I don't think there's a way to do this.  You can create branches in
git that *aren't* tracked in svn, of course, if you want to do that.

And creating branches in svn is a single command, even if you don't
have an svn checkout:

   svn cp $SVN/trunk $SVN/branches/whatever

So it seems unnecessary to duplicate this feature in git.

Have fun,

Avery

```

## Pascal Obry, 2008-06-26 19:05

Subject: Re: git-svn branches creation question
Message-ID: <4863E872.4070904@obry.net>
URL: https://gitlist.dev/e/4863E872.4070904%40obry.net
In-Reply-To: <32541b130806260908m7ca2060bub071da52aa7a33ce@mail.gmail.com>

```
Avery,

> And creating branches in svn is a single command, even if you don't
> have an svn checkout:
> 
>    svn cp $SVN/trunk $SVN/branches/whatever

That's what I'm doing as I said in my message.

> So it seems unnecessary to duplicate this feature in git.

Well it would be quite handy to work on Git directly (eventually 
off-line) and doing the final "git svn dcommit" to update the subversion 
repository and creating the branches if necessary.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

```
