Git
Update the default Git
to a newer version via brew
:brew install git
The brew installed version is located at /usr/local/bin
,in order to override the system’s version (which is located at /usr/bin
),we need export /user/local/bin
to the $PATH
ENV variable.export PATH=/usr/local/bin:$PATH
Active the newly installed git:# bash shellsource ~/.bashrc# zsh shellsource ~/.zshrc
Setup Github
|
SVN
Same as Git
, we can install a newer version of SVN
via brew
:brew install svn