> On Jun 28, 2018, at 0:05, Andreas Schwab wrote: > > On Jun 28 2018, Jean-Christophe Helary wrote: > >>> On Jun 27, 2018, at 23:19, Andreas Schwab wrote: >> >>> $ git diff HEAD@{1} >>> >>> shows the difference between HEAD and the previous state of HEAD. >> >> So when I do >> git diff HEAD@{2} >> >> 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, HEAD@{2} means "where HEAD used to be two moves ago", master@{one.week.ago} 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