我在我的Mac上安装了Git,但我不知道如何运行它或访问它.从终端我输入git,但它说"命令无效".
我从http://code.google.com/p/git-osx-installer/downloads/list?can=3下载了git, 然后我下载了"Git Installer 1.7.3.5 - OS X - Leopard - x86_64"软件包.
包的内容如下:
当我执行"setup git PATH for non-terminal programs.sh"时,我收到以下消息:
在〜/ .MacOSX/environment.plist中没有改变PATH
~/Volumes/Git 1.7.3.5 x86_64 Leopard/Volumes/Git 1.7.3.5 x86_64 Leopard -MacBook-Pro:Git 1.7.3.5 x86_64 Leopard $ $ PATH -bash:/ usr/local/bin:/ bin:/ sbin:/ usr/bin:/ usr/sbin:/ usr/libexec:没有这样的文件或目录
我的个人资料文件的内容如下:
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . …Run Code Online (Sandbox Code Playgroud)