Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template
Date: Sat, 07 Dec 2019 09:38:20
Message-Id: 20191207223804.1c5897e3@katipo2.lan
In Reply to: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template by Michael Orlitzky
1 On Fri, 6 Dec 2019 12:58:47 -0500
2 Michael Orlitzky <mjo@g.o> wrote:
3
4 > $ git rebase -i <hash-of-commit-before-that>
5 >
6 > to do a rebase starting at the one you'd like to fix.
7
8
9 Or, if you know the hash of the faulty commit, you can do:
10
11 $ git rebase -i DEADBEEF^1
12
13 ( 1st parent of commit DEADBEEF )
14
15 Which absolves you from needing to determine the parent commit manually.
16
17 I believe
18
19 $ git rebase -i DEADBEEF~24
20
21 Is also valid for "24th ancestor of commit DEADBEEF"