tags:

views:

242

answers:

2

Hello,

I just installed git on my linux machine (Kubuntu distro) by running the following command:

sudo apt-get install git-core git-doc gitweb git-gui gitk git-email git-svn

I would like to migrate a project which currently uses subversion to git. But if I run git-svn I get the message : git-svn: command not found

Any way to fix this?

Thank You.

+8  A: 

The (new) interface to run git-svn is actually:

$ git svn <command> [options] [arguments]

(notice the lack of -)

Ben James
should work both ways … old way was using hyphenated commands
knittl
knittl: obviously, the old way does not work on some installations
Ben James
ok, you are right, i just tested this on my machine. `git-svn` doesn’t work, while `git svn` does. +1
knittl
The old command style `git-svn` was finally removed at version 1.6.0
Steve Folly
A: 

This saved me a lot of heartache! I was just about to post the same question after. Much appreciated.

Shawn