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

Re: Simple UI question...

From
JSJosef "Jeff" Sipek <jeffpc@josefsipek.net>
Date
Jan 7, 2007, 11:06 UTC
Message-ID
<20070107110648.GA20091@josefsipek.net>
In-Reply-To
<204011cb0701070302y54837c5bp967e2cddd3fb655d@mail.gmail.com>
On Sun, Jan 07, 2007 at 03:02:59AM -0800, Chris Lee wrote:
Show 14 quoted lines
> Hey guys,
> 
> So I'm trying to figure out the best way to pull out a checkout of the
> entire tree as of a given revision ID. I have a whole bunch of
> revision IDs, and I'd like to know what the git equivalent of (say)
> the following is:
> 
> svn co -r280600 file:///path/to/svn/repo
> 
> For the sake of argument, let's say that r280600 imported as
> 07058310db903317faa300b93004a5a2e0fc2dcc into my git tree.
> 
> How do I get a pristine checkout in my working copy of the entire tree
> as the repository saw it at 07058310db903317faa300b93004a5a2e0fc2dcc?
I have great success with:
git-reset --hard $hash
Jeff.
-- 
#endif /* NO LIFE */
Previous: Chris LeeNext: Shawn O. Pearce
Message 2 of 9 in “Simple UI question...”
  1. Chris LeeJan 7, 2007
  2. Josef "Jeff" SipekJan 7, 2007
  3. Shawn O. PearceJan 7, 2007
  4. Chris LeeJan 7, 2007
  5. Shawn O. PearceJan 7, 2007
  6. Chris LeeJan 7, 2007
  7. Junio C HamanoJan 7, 2007
  8. Chris LeeJan 7, 2007
  9. Junio C HamanoJan 7, 2007

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.