问题
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.
回答1:
The (new) interface to run git-svn
is actually:
$ git svn <command> [options] [arguments]
(notice the lack of -
)
回答2:
sudo apt-get install git-svn
This command does it all in Ubuntu. Your distro (example yum install) can probably do it.
来源:https://stackoverflow.com/questions/1737275/cant-invoke-git-svn-from-command-line