Can't find git-svn on Mac OS X Leopard after installing via MacPorts

社会主义新天地 提交于 2019-12-18 14:45:11

问题


Okay people, I'm sure someone has had this issue and can help me out.

I'm trying to get git-svn working on OSX Leopard (10.5.6). Using MacPorts I've run the install thus : sudo port install git-core +svn

However, git-svn has not been installed and is not available. No errors came up during the lengthy dependency installation and so I'm at a loss.

Thoughts would be greatly appreciated.


回答1:


On my install at least, I have to invoke it as git svn <cmd> instead of git-svn <cmd>.




回答2:


That's the same install I used which works fine. Have you added /opt/local/bin to your PATH?




回答3:


git-svn is located in /opt/local/libexex/git-core/ if installed through macports. Add /opt/local/libexex/git-core to your path and you should be good to go.



来源:https://stackoverflow.com/questions/832427/cant-find-git-svn-on-mac-os-x-leopard-after-installing-via-macports

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