unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: Re: git, magit: nth diff before
Date: Tue, 17 Mar 2015 17:37:08 +0600	[thread overview]
Message-ID: <CAP_d_8XKQKJF9=Xg9odJH-EA0mBmwg7VupgXOzwk6r9c646Gbw@mail.gmail.com> (raw)
In-Reply-To: <55080B4A.5020309@easy-emacs.de>

On Tue, Mar 17, 2015 at 5:08 PM, Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:

> let's assume wont to see a git diff from 9th to 8th commit before head.
>
> Is there a convenient command using magic, i.e. giving arguments as numbers?

M-x magit-show-commit RET HEAD~8 RET if you really insist on a
command-line-like interface.

But you may also like to invoke M-x magit-log, move point to the line
describing the commit you want, and press RET.



  parent reply	other threads:[~2015-03-17 11:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 11:08 git, magit: nth diff before Andreas Röhler
2015-03-17 11:27 ` Tassilo Horn
2015-03-17 11:37 ` Yuri Khan [this message]
2015-03-17 11:56   ` Andreas Röhler

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_8XKQKJF9=Xg9odJH-EA0mBmwg7VupgXOzwk6r9c646Gbw@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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.
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).