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

Re: git version not changed after installing new version

From
Carlos Martín Nieto <cmn@elego.de>
Date
Jan 25, 2012, 18:57 UTC
Message-ID
<1327517841.31804.75.camel@centaur.lab.cmartin.tk>
In-Reply-To
<loom.20120125T181639-351@post.gmane.org>
On Wed, 2012-01-25 at 17:19 +0000, freefly wrote:
> Thanks both of you for your replies, I have checked but, 
> it still points to the old "/usr/bin/git" not the 
> "/usr/local/git/bin" :(

What do `which git` and `type git` say? Bash remembers where it ran a command so if you install a binary to a new location, it might not find it straight away.

Show 7 quoted lines
> 
> when I run the update path script I get this output.
> 
> 
> No change to PATH in ~/.MacOSX/environment.plist
> ~ /Volumes/Git 1.7.8.3 Snow Leopard Intel Universal
> /Volumes/Git 1.7.8.3 Snow Leopard Intel Universal

So the script detected that no change was needed presumably. What's your $PATH and is /usr/local/bin/ before /usr/bin/?

   cmn
Previous: freeflyNext: freefly
Message 5 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.