unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri Khan <yurivkhan@gmail.com>
To: brandelune@gmail.com
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: git question
Date: Wed, 27 Jun 2018 21:49:23 +0700	[thread overview]
Message-ID: <CAP_d_8XBa=SkvQJCf_Q4Ni=f1S4fiQn6HiVuvbbAOjqUK2tEiw@mail.gmail.com> (raw)
In-Reply-To: <25CA8208-3609-421D-867F-6F69B706B27B@gmail.com>

On Wed, Jun 27, 2018 at 9:29 PM Jean-Christophe Helary
<brandelune@gmail.com> wrote:

> $ git diff HEAD@{1}..
>
> Thank you, and thank you Andreas for the same reply.

Note the subtle difference: “git diff HEAD@{1}..” will give the diff
between previous and current states, while “git diff HEAD@{1}” will
give the same diff but in reverse.



  parent reply	other threads:[~2018-06-27 14:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27 13:54 git question Jean-Christophe Helary
2018-06-27 14:12 ` Van L
2018-06-27 14:20   ` Jean-Christophe Helary
2018-06-28 11:17     ` Lele Gaifax
2018-06-28 12:34       ` Jean-Christophe Helary
2018-06-27 14:19 ` Andreas Schwab
2018-06-27 15:02   ` Jean-Christophe Helary
2018-06-27 15:05     ` Andreas Schwab
2018-06-27 15:10       ` Jean-Christophe Helary
2018-06-27 15:52   ` Eric Abrahamsen
2018-06-27 23:27     ` Jean-Christophe Helary
2018-06-27 14:23 ` Yuri Khan
2018-06-27 14:29   ` Jean-Christophe Helary
2018-06-27 14:43     ` Andreas Schwab
2018-06-27 14:55       ` Jean-Christophe Helary
2018-06-27 14:49     ` Yuri Khan [this message]
2018-06-27 14:56       ` Jean-Christophe Helary
2018-06-27 15:02       ` Andreas Schwab
2018-06-27 15:35         ` Yuri Khan
2018-06-27 15:25       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP_d_8XBa=SkvQJCf_Q4Ni=f1S4fiQn6HiVuvbbAOjqUK2tEiw@mail.gmail.com' \
    --to=yurivkhan@gmail.com \
    --cc=brandelune@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).