Install Homebrew if needed.
git
--version
If Homebrew exists on your machine, update it.
Install Git using Homebrew.
brew
update
&& brew
upgrade
Now restart the Terminal and check git version. You should see the updated version.
brew
install git
From now on, you can just update...
git
--version
brew
update
&& brew
upgrade
No comments:
Post a Comment