Chi*_*ron 94 git macos
我只是好奇,在Mac OS X文件系统上安装Git(通过DMG)?
sco*_*ttd 149
它在你的PATH中吗?如果是这样,只需which git在终端中运行它会告诉你.
which git
小智 119
从安装git的网页安装到在/ usr /本地/ GIT中的默认值.另见这个答案.但是,如果您安装XCode4,它将在/ usr/bin中安装一个git版本.为确保您可以轻松地从网站升级并使用最新的git版本,请编辑您的配置文件信息,以便在$ PATH中的/ usr/bin之前放置/ usr/local/git/bin或编辑/ etc/paths并插入/ usr/local/git/bin作为第一个条目(请参阅此答案).
Ray*_*ald 42
只需在which git终端窗口中键入,它就会显示它的确切安装位置.
Gas*_*lén 7
你也可以尝试一下/usr/local/bin/git 它对我有用
/usr/local/bin/git
小智 6
在大多数基于UNIX的sys上,它的at /usr/bin/git(如果安装了默认选项) 所有与git相关的脚本都在/usr/libexec/git-core
/usr/bin/git
/usr/libexec/git-core
sah*_*rar 6
你可以简单地在终端上使用这个命令来找出 unix 平台 (mac/linux) 上的 git -
whereis git
This command should return something like - /usr/bin/git or any other location where git is installed
归档时间:
15 年,1 月 前
查看次数:
132247 次
最近记录:
6 年,10 月 前