unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Jean-Christophe Helary <brandelune@gmail.com>
Cc: EMACS devel list <emacs-devel@gnu.org>
Subject: Re: git question
Date: Wed, 27 Jun 2018 16:19:35 +0200	[thread overview]
Message-ID: <mvmefgs2txk.fsf@suse.de> (raw)
In-Reply-To: <B93CD775-ED51-4C20-BB58-B9291D92AA55@gmail.com> (Jean-Christophe Helary's message of "Wed, 27 Jun 2018 22:54:51 +0900")

On Jun 27 2018, Jean-Christophe Helary <brandelune@gmail.com> wrote:

> Sorry for the beginner level for this question.
>
> When I do a git pull and I get, for ex:
>
>  etc/NEWS       |  6 ++++++
>  lisp/info.el   |  4 ++--
>  lisp/server.el | 10 ++++++----
>
> like I just had.
>
> What git command should I use to examine what are the modifications on the three above files?

$ git diff HEAD@{1}

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

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



  parent reply	other threads:[~2018-06-27 14:19 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 [this message]
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
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=mvmefgs2txk.fsf@suse.de \
    --to=schwab@suse.de \
    --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).