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