Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git version not changed after installing new version

From: Thomas Rast <hidden>
Date: 2016-06-15 22:52:51

freefly [off-list ref] writes:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help