Can't invoke git-svn from command line

99封情书 提交于 2019-12-12 08:17:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!