From: jeffpc@josefsipek.net (Josef "Jeff" Sipek)
To: Chris Lee <clee@kde.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Simple UI question...
Date: Sun, 7 Jan 2007 06:06:48 -0500 [thread overview]
Message-ID: <20070107110648.GA20091@josefsipek.net> (raw)
In-Reply-To: <204011cb0701070302y54837c5bp967e2cddd3fb655d@mail.gmail.com>
On Sun, Jan 07, 2007 at 03:02:59AM -0800, Chris Lee wrote:
> 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 */
next prev parent reply other threads:[~2007-01-07 11:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 11:02 Simple UI question Chris Lee
2007-01-07 11:06 ` Josef "Jeff" Sipek [this message]
2007-01-07 11:13 ` Shawn O. Pearce
2007-01-07 11:21 ` Chris Lee
2007-01-07 11:29 ` Shawn O. Pearce
2007-01-07 11:38 ` Chris Lee
2007-01-07 11:40 ` Junio C Hamano
2007-01-07 11:50 ` Chris Lee
2007-01-07 11:30 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070107110648.GA20091@josefsipek.net \
--to=jeffpc@josefsipek.net \
--cc=clee@kde.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.