Reputation: 25
I am currently having a problem to install git that is without the apple version. This is what is currently shown on my terminal.
Upvotes: 0
Views: 918
Reputation: 488519
Your PATH
has /usr/local/bin
after /usr/bin
, so you will get /usr/bin/git
in preference to /usr/local/bin/git
when both are installed. You can explicitly run /usr/local/bin/git
, or /usr/bin/git
, to pick one of the two for one particular command. It's generally inadvisable to uninstall system-provided versions of software, but if you change your PATH
setting to put /usr/local/bin
before /usr/bin
, running git
will get you the locally-installed version instead.
Upvotes: 1