无法通过MacPorts安装Git-core+svn
我正在尝试使用以下命令在 mac os x 10.5 上安装 git-svn,
sudo port install git-core +svn
它安装成功,但我可以在任何地方找到 git-svn 命令,
~/ $ sudo port installed git-*
The following ports are currently installed:
git-core @1.6.5.2_0+doc+svn (active)
已安装显示它已使用正确的选项安装。
I am trying to install git-svn on mac os x 10.5 using the following command,
sudo port install git-core +svn
It installation is successful but i can find the git-svn command anywhere,
~/ $ sudo port installed git-*
The following ports are currently installed:
git-core @1.6.5.2_0+doc+svn (active)
Installed shows it installed with correct options.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来已安装
+svn
变体。git-svn
将位于/opt/local/libexec/git-core/git-svn
,但您应该从命令行调用它git svn
--git
本身会知道在哪里可以找到其关联的二进制文件。git
安装在/opt/local/bin
中。确保/opt/local/bin
位于您的$PATH
中。It looks like the
+svn
variant is installed.git-svn
will be at/opt/local/libexec/git-core/git-svn
, but you should call it from the command line asgit svn
--git
itself will know where to find its associated binaries.git
is installed at/opt/local/bin
. Make sure/opt/local/bin
is in your$PATH
.