git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Kirill LikhodedovNext: freefly
Message 3 of 14 in “git version not changed after installing new version”
  1. freeflyJan 25, 2012
  2. Kirill LikhodedovJan 25, 2012
  3. Thomas RastJan 25, 2012
  4. freeflyJan 25, 2012
  5. Carlos Martín NietoJan 25, 2012
  6. freeflyJan 25, 2012
  7. Carlos Martín NietoJan 25, 2012
  8. freeflyJan 25, 2012
  9. Carlos Martín NietoJan 25, 2012
  10. freeflyJan 26, 2012
  11. freeflyJan 26, 2012
  12. Holger HellmuthJan 26, 2012
  13. freeflyJan 26, 2012
  14. freeflyJan 25, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.