emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git question


From: Jean-Christophe Helary
Subject: Re: git question
Date: Thu, 28 Jun 2018 00:10:25 +0900



On Jun 28, 2018, at 0:05, Andreas Schwab <address@hidden> wrote:

On Jun 28 2018, Jean-Christophe Helary <address@hidden> wrote:

On Jun 27, 2018, at 23:19, Andreas Schwab <address@hidden> wrote:

$ git diff address@hidden

shows the difference between HEAD and the previous state of HEAD.

So when I do
git diff address@hidden

I get the result vs the state of HEAD 2 "git pull" before on my machine, right ?

Depends on what you did inbetween.  See git-reflog(1).

Excellent. Thank you !

" For example, address@hidden means "where HEAD used to be two moves ago",
       address@hidden means "where master used to point to one week ago in this local
       repository", and so on. See gitrevisions(7) for more details. "


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune



reply via email to

[Prev in Thread] Current Thread [Next in Thread]