I have installed GIT 1.7.7.1 via homebrew and had to do a
sudo brew link git
to link git to
/usr/local/bin
When I run git –version in terminal I get an older version of Git (1.7.5.6)
Is it possible to link to the new version instead?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like
/usr/bingo before/usr/local/binin$PATHand hence take precedence. I suggest to change order of paths in$PATH.(Also you may try to define alias:
alias git=/usr/local/bin/git)