Re: git version not changed after installing new version
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 25, 2012, 17:03 UTC
- Message-ID
- <8739b3k949.fsf@thomas.inf.ethz.ch>
- In-Reply-To
- <loom.20120125T173801-500@post.gmane.org>
freefly <free.fly@live.com> writes:
Show 6 quoted lines
> Hi all, > I am new to Mac OS X lion and I had a previous installation of XCODE 4.2 > on my mac mini. It has a git version 1.7.5.4. I installed a new version 1.7.8.4. > and updated the Path variables by running the script comes with the > package as well. but when I type "git --version" in the terminal > I get 1.7.5.4. Can anyone tell me what is going wrong ?
Enter 'which git' in a terminal. The 'which' utility looks up which executable from $PATH will be run if you use 'git' (in this case) as a command word, i.e., without specifying its path.
This should point to your newly installed git. It probably doesn't, and you can compare it and your $PATH (try: 'echo "$PATH"' in a terminal) to see why.
--
Thomas Rast
trast@{inf,student}.ethz.ch