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

Re: checking out by date

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jan 12, 2009, 21:24 UTC
Message-ID
<200901122224.37058.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20090112193039.GO25823@eratosthenes.cryptobackpack.org>
David Bryson <david@statichacks.org> writes:
Show 10 quoted lines
> Hi All,
> 
> I have a very large repository that imported into git from CVS with
> about 5 years worth of history.
> 
> Today I decided to checkout some code from the past:
> 
> $ git checkout master@{"Mon Dec 31  2007"}
> warning: Log for 'master' only goes back to Tue, 2 Dec 2008 16:57:15
> -0800.
git checkout $(git rev-list -n1 --before="Mon Dec 31  2007 23:59:59")
-- robin
Previous: Boyd Stephen Smith Jr.
Message 3 of 3 in “checking out by date”
  1. David BrysonJan 12, 2009
  2. Boyd Stephen Smith Jr.Jan 12, 2009
  3. Robin RosenbergJan 12, 2009

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.