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

Re: Accessing the reflog remotely

From
EAEmanuele Aina <em@nerd.ocracy.org>
Date
Nov 4, 2009, 10:16 UTC
Message-ID
<1257329780.3329.2.camel@abelardo.lan>
In-Reply-To
<vpqljimpr95.fsf@bauges.imag.fr>
Matthieu Moy provò:
Show 10 quoted lines
>   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.
Previous: Matthieu MoyNext: Tomas Carnecky
Message 2 of 8 in “Accessing the reflog remotely”
  1. Matthieu MoyNov 4, 2009
  2. Emanuele AinaNov 4, 2009
  3. Tomas CarneckyNov 4, 2009
  4. Nicolas PitreNov 4, 2009
  5. Matthieu MoyNov 4, 2009
  6. Sverre RabbelierNov 4, 2009
  7. Junio C HamanoNov 4, 2009
  8. Matthieu MoyNov 4, 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.