git command line on Mac

I had to start using a new Mac, so it was good time to review my toolset.

$ git --version
git version 2.3.2 (Apple Git-55)
$ which git/usr/local/bin/git


After the brew install

brew install git
...
$ git --version
git version 2.2.0
$ which git
/usr/local/Cellar/git/2.2.0//bin/git


it seems that the version of Brew is older, so I advise staying with Apple (Developer's Tools).





If you like this post, please give me your 2 cents ($0.02 litterally) to show token of appreciation and encourage me to write more:

Donate Bitcoins

No comments:

Post a Comment