From: Emanuele Aina <em@nerd.ocracy.org>
To: git <git@vger.kernel.org>
Subject: Re: Accessing the reflog remotely
Date: Wed, 04 Nov 2009 11:16:20 +0100 [thread overview]
Message-ID: <1257329780.3329.2.camel@abelardo.lan> (raw)
In-Reply-To: <vpqljimpr95.fsf@bauges.imag.fr>
Matthieu Moy provò:
> git checkout 'origin/master@{Nov 3 00:00:00}'
>
> But this tells me where _my_ local master was on that date (i.e. the
> last revision I had pulled).
>
> So, the best I can think of is:
>
> ssh host 'cd /repo/ ; git tag final-version "master@{Nov 3 00:00:00}"'
> git fetch --tags
> git checkout tags/final-version
At least you can avoid the tag:
git checkout `ssh host 'GIT_DIR=/repo/ git rev-parse "master@{Nov 3 00:00:00}"'`
--
Buongiorno.
Complimenti per l'ottima scelta.
next prev parent reply other threads:[~2009-11-04 10:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 9:35 Accessing the reflog remotely Matthieu Moy
2009-11-04 10:16 ` Emanuele Aina [this message]
2009-11-04 10:58 ` Tomas Carnecky
2009-11-04 17:46 ` Nicolas Pitre
2009-11-04 19:06 ` Matthieu Moy
2009-11-04 17:55 ` Sverre Rabbelier
2009-11-04 18:03 ` Junio C Hamano
2009-11-04 19:08 ` Matthieu Moy
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=1257329780.3329.2.camel@abelardo.lan \
--to=em@nerd.ocracy.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.