我正在尝试在 Mac 上安装 Git。我找到了这些说明:crainbandy
但是,我有点不明白。
1. Change directories to the mounted image
bash$ cd /Volumes/Git\ 1.6.4.4\ Intel\ Leopard/
bash$ ls
README.txt setup git PATH for non-terminal programs.sh
git-1.6.4.4-intel-leopard.pkg uninstall.sh
bash$ ./setup\ git\ PATH\ for\ non-terminal\ programs.sh
2. Run the shell script (last line above)
Run Code Online (Sandbox Code Playgroud)
是的,他们已经给出了确切的指示。但是,我不知道 bash 并且我很少使用终端,所以我需要一些帮助。我是否直接输入读取 README.txt 的部分?我是否真的输入:
bash$ cd /Volumes/Git\ 1.6.4.4\ Intel\ Leopard/
bash$ ls
README.txt setup git PATH for non-terminal programs.sh
git-1.6.4.4-intel-leopard.pkg uninstall.sh
bash$ ./setup\ git\ PATH\ for\ non-terminal\ programs.sh"
Run Code Online (Sandbox Code Playgroud)
我需要改变什么吗?
我不想搞砸任何事情。