1
Lonely May 23, 2015
直接装个xcode就好了,自带git
|
3
jokester May 23, 2015
哪個README.txt啊
你打算讓看的人自己找嗎? |
4
pseudo OP Step 4我理解是什么用了,让其他GUI的程序也能顺利的调用Git
|
5
pseudo OP @jokester 不好意思哈
Step 2 - Remove stubs --------------------- OS X has started to ship with stubs; in order to stay nice and easy-to-uninstall, the git installer places all of it's assets under `/usr/local/git`. As a result, the git in /usr/local/git/bin/git takes second place to /usr/bin/git. sudo mv /usr/bin/git /usr/bin/git-system |
6
steveshi May 23, 2015 via iPhone
你装了Xcode后任何程序都能调用啊,干嘛要这么麻烦?
|
8
gengzhengtao May 23, 2015
用brew,直接搞定,
|
9
jsfaint May 23, 2015
brew install git
|
10
ffffwh May 23, 2015
不想装xcode(解压完5G貌似)的话可以单独装开发者命令行工具
sudo xcode-select --install |
11
ewBuyVmLZMZE May 23, 2015
sudo xcode-select --install +10086
|
12
sinxccc May 23, 2015 OS X 在没有安装 xcode 或者 command line tools 之前,/usr/bin/git 这个文件是存在的。但它不是 git,只是指向 command line tools 的一个 stub,placeholder,它唯一的功能是你运行之后提示你去装 xcode 或者 command line tools。
如果自己安装了一份 git 而且并不想去装 xcode 的时候,你需要把这个 stub 改名或者删掉,让你自己装的 git 能被调用到。这是它这个 step 2 的意思。 如果你如上面回复所建议的,装上了 xcode 之后,这个 /usr/bin/git 就已经是功能完全的 git 了,自然没有必要去改名。 |
14
pseudo OP |
15
banri May 23, 2015 via iPhone
简单粗暴source tree 从此摆脱命令行(x)
|
18
jy01264313 May 25, 2015
brew install git
|
19
djyde May 25, 2015
homebrew
|
21
wind3110991 Jun 1, 2015
homebrew下
brew install git 直接安装好,干嘛要gui啊?git本来就是让你脱离gui的 要想gui,直接用github for mac,挺好用的 |
22
pseudo OP @wind3110991 谢谢啦~已经装了Xcode解决,其实我本身一直不用GUI的这个是git官网下下来的文件里面的内容
|