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:23:49 +0700 [thread overview]
Message-ID: <CAP_d_8XOSMnXXYAv-S2gzo5km6v16pCHs=gdid-kXYhv7RgWdw@mail.gmail.com> (raw)
In-Reply-To: <B93CD775-ED51-4C20-BB58-B9291D92AA55@gmail.com>
On Wed, Jun 27, 2018 at 9:03 PM Jean-Christophe Helary
<brandelune@gmail.com> wrote:
> 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?
Normally you would first do a “git fetch”, then see the diff between
current state and the remote branch, and only then decide if you want
to merge that:
$ git fetch
$ git diff HEAD..origin/master
$ git merge origin/master
(substitute a different remote branch name as necessary).
But if you did a blind pull already, you can look back this way:
$ git diff HEAD@{1}..
next prev parent reply other threads:[~2018-06-27 14:23 UTC|newest]
Thread overview: 23+ 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 [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2017-07-06 7:36 Rasmus
2017-07-06 11:58 ` Kaushal Modi
2017-07-06 13:24 ` Kyle Meyer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP_d_8XOSMnXXYAv-S2gzo5km6v16pCHs=gdid-kXYhv7RgWdw@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.