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

How to view an old revision?

From
MMMatt McCutchen <hashproduct+git@gmail.com>
Date
Nov 1, 2006, 14:20 UTC
Message-ID
<3bbc18d20611010620m11e40402v44334a8c486a4932@mail.gmail.com>
Dear git people,

How do I view an old revision of a file without actually checking it out? This would be analogous to "cvs checkout -r <old> -p". I've RTMed and STWed and can't seem to find a way.

Next: Andy Whitcroft
Message 1 of 7 in “How to view an old revision?”
  1. Matt McCutchenNov 1, 2006
  2. Andy WhitcroftNov 1, 2006
  3. Matt McCutchenNov 1, 2006
  4. Andy WhitcroftNov 1, 2006
  5. Junio C HamanoNov 1, 2006
  6. Matt McCutchenNov 1, 2006
  7. Andy WhitcroftNov 1, 2006

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.