安装git-svn

今天使用git svn clone svn://192.168.1.1/res_project 是报错如下:(opensuse 11.3系统, 有装git 、svn)

$ git svn clone svn://192.168.1.1/res_project
git: ‘svn’ is not a git-command. See ‘git –help’.

Did you mean one of these
?
fsck
show

问了下他们,说是git没开svn模式,google一阵,悲剧的很,加上很多资料都是e文的,还是不知道怎么解决~

后面发现是没装git-svn这个包(需要单独安装的),前面关键字没写好,白费时间找了很久

http://www.google.com.hk/search?hl=zh-CN&newwindow=1&safe=strict&biw=1440&bih=706&q=opensuse+rpm+i386+subversion-perl&aq=o&aqi=&aql=&oq=

很快找到git-svn包下载地址:http://www.rpmfind.net/linux/rpm2html/search.php?query=git-svn

但是呢,这个包又依耐subversion-perl包,然后subversion-perl又依耐其他很多~~ 挨个下载,挨个安装

最后执行

$ rpm -ivh git-svn-1.7.1-1.14.i586.rpm

其实 在opensuse里面直接有yast2图形管理工具, 直接用yast2安装很方便

posted @ 2011-04-06 15:42  nodot  阅读(9062)  评论(1编辑  收藏  举报