public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kent Fredric <kentnl@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template
Date: Sat, 7 Dec 2019 22:38:04 +1300	[thread overview]
Message-ID: <20191207223804.1c5897e3@katipo2.lan> (raw)
In-Reply-To: <d58a9aeb-b517-a708-2f84-26389920bd20@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On Fri, 6 Dec 2019 12:58:47 -0500
Michael Orlitzky <mjo@gentoo.org> wrote:

>   $ git rebase -i <hash-of-commit-before-that>
> 
> to do a rebase starting at the one you'd like to fix.


Or, if you know the hash of the faulty commit, you can do:

    $ git rebase -i DEADBEEF^1

( 1st parent of commit DEADBEEF )

Which absolves you from needing to determine the parent commit manually.

I believe 

    $ git rebase -i DEADBEEF~24

Is also valid for "24th ancestor of commit DEADBEEF"


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-12-07  9:38 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-05 16:09 [gentoo-dev] [PATCH] package.deprecated: Create initial template Michał Górny
2019-12-05 16:36 ` Alexis Ballier
2019-12-05 16:53   ` William Hubbs
2019-12-05 17:11     ` Alexis Ballier
2019-12-07 10:34       ` Joonas Niilola
2019-12-05 17:39   ` Michał Górny
2019-12-05 17:59     ` Alexis Ballier
2019-12-05 18:04       ` Michał Górny
2019-12-05 19:12         ` Gerion Entrup
2019-12-05 22:00         ` Alexis Ballier
2019-12-06  8:23           ` Tim Harder
2019-12-06  9:03             ` Alexis Ballier
2019-12-06  9:33               ` Tim Harder
2019-12-06 10:50                 ` Alexis Ballier
2019-12-06 15:41                   ` Matt Turner
2019-12-06 15:46                     ` Michael 'veremitz' Everitt
2019-12-06 16:28                       ` Mike Gilbert
2019-12-06 17:57                         ` Michael 'veremitz' Everitt
2019-12-06 16:29                     ` Alexis Ballier
2019-12-06 17:58                       ` Michael Orlitzky
2019-12-07  9:38                         ` Kent Fredric [this message]
2019-12-07  9:46               ` Kent Fredric
2019-12-06 11:33             ` Michał Górny
2019-12-06 11:45               ` Tim Harder
2019-12-05 16:39 ` Andreas K. Huettel
2019-12-05 16:46 ` Matt Turner
2019-12-05 17:56 ` Mikle Kolyada
2019-12-05 19:01 ` Alec Warner
2019-12-05 23:37 ` Aaron Bauman
2019-12-06  0:36 ` Chí-Thanh Christopher Nguyễn
2019-12-06  7:15   ` Michał Górny
2019-12-06  7:35     ` Tim Harder

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=20191207223804.1c5897e3@katipo2.lan \
    --to=kentnl@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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