一. 安装
使用brew安装GIT
MacBook-Pro:~ $ brew install git Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae akamai dep lean pcb ampl-mp dlib libbitcoin pcl apibuilder-cli docfx libbitcoin-explorer pdfsandwich apng2gif erlang@17 libmatio pony-stable armadillo flann libpq pumba arpack frugal libtrng qhull azure-cli@1 geth libxlsxwriter qrupdate bash-snippets ghc@8.0 liquid-dsp root@5 bento4 glpk llvm@4 s-nail bettercap gmsh marathon-swift sbt@0.13 braid gmt maxima scalapack brainfuck go@1.8 metis sccache ceres-solver gomplate mimic snapcraft cfitsio goose mujs stubby clblas gopass nco suite-sparse clfft gromacs ncview sundials clinfo hdf5@1.8 netcdf superlu clojure http-server nlopt telnet cminpack hwloc octave trash-cli configen hypre openblas veclibfort cppad igraph opencv@2 voro++ credstash inetutils ott vtk cryfs json-table packmol wxmaxima datamash jupyter payara xtensor ==> Updated Formulae abcm2ps gmime node@6 abcmidi gnome-builder nodeenv ace gnome-recipes nodenv acmetool gnu-chess nomad acpica gnupg notmuch activemq gnupg-pkcs11-scd nsd activemq-cpp gnupg@1.4 nspr advancecomp gnuplot nss aespipe gnuplot@4 numpy afl-fuzz gnustep-make nuxeo afsctool gnutls nvm agda go nzbget agedu goad ola alexjs gobject-introspection ✔ oniguruma algernon godep onscripter allure goenv open-scene-graph alot gofabric8 openal-soft amazon-ecs-cli gom openclonk ammonite-repl goocanvas opencoarrays angular-cli goofys opencsg anjuta google-benchmark opendetex ansible google-java-format openfortivpn ansible-lint googler openjpeg ansible@2.0 gource openmsx ansifilter gphoto2 openrct2 apache-arrow gpp openrtsp apache-flink gpsbabel opensc apache-opennlp gpsim openshift-cli apache-zeppelin gputils openslide apktool grace openvdb app-engine-go-64 gradle ✔ opusfile app-engine-java grafana orc app-engine-python grails orientdb apr grakn osm-pbf apr-util graphicsmagick osm2pgrouting aptly grib-api osm2pgsql arangodb groonga osmium-tool argyll-cms grpc osquery arx-libertatis grunt-completion osrm-backend ascii gsettings-desktop-schemas overmind asdf gsmartcontrol oysttyer aspell gsoap p11-kit assimp gspell packer at-spi2-atk gst-plugins-bad packetbeat at-spi2-core gst-plugins-good paket atk gst-plugins-ugly pam_yubico atlassian-cli gtk+3 pandoc ats2-postiats gtk-doc pandoc-citeproc audacious gtk-gnutella pandoc-crossref augeas gtkmm3 pango autopano-sift-c gtksourceview3 parallel avfs gucharmap passenger avro-c gupnp-tools pazpar2 avro-cpp gwenhywfar pc6001vx avro-tools gws pcb2gcode aws-elasticbeanstalk gwyddion pcre2 aws-sdk-cpp hadoop pdf2htmlex aws-shell hana pdftoedn awscli