git: ‘svn’ is not a git-command

诡异的事情天天有:

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

Did you mean one of these?
    fsck
    show

svn是git command吗?不是git command吗?……

搞了半天原来和前不久的curl localhost是同一个问题 ── port variants没装,好吧这回吸取教训了,下次再装port一定要养成习惯先看下variants……

被depend到自动搞下来的port暂时还没找到办法,所以估计这种诡异的事情以后还是不能避免,就这点而言,archlinux下的pacman和ABS就做的相对好一点,至少surprise没那么多(好吧,有还是有的……)

$ port variants git-core
$ sudo port uninstall git-core
$ sudo port install git-core +bash_completion +svn +doc

历史上的今天:

Related posts:

Got something to say? Go for it!

使用新浪微博登陆