Re: Accessing the reflog remotely
- From
Tomas Carnecky <tom@dbservice.com>
- Date
- Nov 4, 2009, 10:58 UTC
- Message-ID
- <684BAF22-EBF5-47F0-9363-3E1B60B4A328@dbservice.com>
- In-Reply-To
- <vpqljimpr95.fsf@bauges.imag.fr>
On Nov 4, 2009, at 10:35 AM, Matthieu Moy wrote:
Show 15 quoted lines
> 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).Keep in mind that bare repos don't have reflogs by default, so unless you enabled the reflog manually there is none.
tom