Git development
 help / color / mirror / Atom feed
* Accessing the reflog remotely
@ 2009-11-04  9:35 Matthieu Moy
  2009-11-04 10:16 ` Emanuele Aina
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matthieu Moy @ 2009-11-04  9:35 UTC (permalink / raw)
  To: git

Hi,

I guess the answer is "no", but I'll still ask in case ...

Is it possible to access the reflog of a remote repository other than
logging into this repository?

My use-case is the following: I want to checkout "the last revision
pushed in master on ssh://host/repo/ on day D at midnight" (to fetch
the project of my students ;-) ). If it were locally, I'd do

  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

Is there a better way?

Thanks,

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-04 19:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04  9:35 Accessing the reflog remotely Matthieu Moy
2009-11-04 10:16 ` Emanuele Aina
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox