Last active
August 29, 2015 14:06
-
-
Save mamboer/6d908d5d620dcae683bf to your computer and use it in GitHub Desktop.
Update mac's git using Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Firstly | |
Install git via homebrew | |
``` | |
brew --version | |
brew doctor | |
brew install git | |
``` | |
### Secondly | |
Add /usr/local/bin in your ~/.bash_profile | |
``` | |
export PATH="/usr/local/bin:$PATH" | |
``` | |
### Finally | |
Reload your bash by reopening your terminal. | |
And, you can update git using the command as below: | |
``` | |
brew update git | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment