[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git question
From: |
Andreas Schwab |
Subject: |
Re: git question |
Date: |
Wed, 27 Jun 2018 17:05:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
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).
Andreas.
--
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Re: git question, Yuri Khan, 2018/06/27