【发布时间】:2015-07-26 01:00:49
【问题描述】:
我通过 http://git-scm.com/download/mac 从 sourceforge 为我的 Macbook Pro OS X 10.9.5 下载了 Git 2.4.3,然后安装了它。
当我在终端输入git --version 时,出现了这条消息:
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install.
Choose an option in the dialog to download the command line developer tools
当我输入 which git 时出现:/usr/bin/git。
当我输入 git version 2.4.3 时出现:git version 1.9.5 (Apple Git-50.3)。
然后我安装了 Xcode。当我在终端中输入上述命令时,出现了相同的结果。
然后我卸载了 Git。
如何安装和使用最新版本的 Git?
【问题讨论】:
标签: xcode git installation osx-mavericks homebrew