threads / discuss / 16297

git svn branch

Subject: git svn branch

## tl;dr

2 messages between Nov 12, 2008 and Nov 13, 2008.

replies: 1people: 2as markdown or json

yb_Art· Nov 12, 2008, 23:47 UTC · lore

I'm using the binary from google code on my mac os-x leopard machine, and it doesn't have git svn branch. How can I work around this issue? Is there anyway to create a branch on the svn repository using git?

Michael J Gruber· Nov 13, 2008, 08:34 UTC · re: yb_Art · lore

Re: git svn branch

yb_Art venit, vidit, dixit 13.11.2008 00:47:
> I'm using the binary from google code on my mac os-x leopard machine,
> and it doesn't have git svn branch.  How can I work around this
> issue?  Is there anyway to create a branch on the svn repository using
> git?

I don't know which version google code has, but git-svn is a perl script which you can download directly from

http://repo.or.cz/w/git.git?a=blob_plain;f=git-svn.perl;hb=HEAD

Note that in git-svn.perl as downloaded you will have to adjust the first few lines (maybe a uselib in the second line; @@GIT_VERSION@@) to match what you have in your current git-svn. If your git is not too ancient then current git-svn should work with it.

Actually, I think compiling yourself is easier...
Michael

← back to recent threads