@
ooxxcc ➜ ~ brew info git
git: stable 2.1.3 (bottled), HEAD
http://git-scm.com/usr/local/Cellar/git/2.1.3 (1342 files, 32M) *
Poured from bottle
From:
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/git.rb==> Dependencies
Optional: pcre ✘, gettext ✘
==> Options
--with-blk-sha1
Compile with the block-optimized SHA1 implementation
--with-brewed-curl
Use Homebrew's version of cURL library
--with-brewed-openssl
Build with Homebrew OpenSSL instead of the system version
--with-brewed-svn
Use Homebrew's version of SVN
--with-gettext
Build with gettext support
--with-pcre
Build with pcre support
--with-persistent-https
Build git-remote-persistent-https from "contrib" directory
--without-completions
Disable bash/zsh completions from "contrib" directory
--HEAD
install HEAD version
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
————————————————————————我是分割线————————————————————————————————————
➜ ~ /usr/local/sbin/git
zsh: no such file or directory: /usr/local/sbin/git
————————————————————————我是分割线————————————————————————————————————
没有brew link git,想的是设置好环境变量后通过brew install的都可以覆盖系统自带的