无法从命令行调用git-svn

Joh*_*Myr 24 git git-svn

我刚刚运行以下命令在我的linux机器(Kubuntu发行版)上安装了git:

sudo apt-get install git-core git-doc gitweb git-gui gitk git-email git-svn
Run Code Online (Sandbox Code Playgroud)

我想将目前使用subversion的项目迁移到git.但是,如果我运行git-svn,我会收到消息:git-svn:command not found

有任何解决这个问题的方法吗?

谢谢.

Ben*_*mes 41

要运行的(新)接口git-svn实际上是:

$ git svn <command> [options] [arguments]
Run Code Online (Sandbox Code Playgroud)

(注意缺乏-)


小智 9

sudo apt-get install git-svn
Run Code Online (Sandbox Code Playgroud)

这个命令在Ubuntu中完成所有操作.您的发行版(例如yum install)可能会这样做.