Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用以下命令在 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)
已安装显示它安装了正确的选项。
看起来该+svn变体已安装。git-svn将位于/opt/local/libexec/git-core/git-svn,但您应该从命令行调用它,因为git svn它git本身会知道在哪里可以找到其关联的二进制文件。
+svn
git-svn
/opt/local/libexec/git-core/git-svn
git svn
git
git安装在/opt/local/bin. 确保/opt/local/bin在您的$PATH.
/opt/local/bin
$PATH