Re: RFC - "git editlog" feature for fixing up local commit messages
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Mar 29, 2010, 13:41 UTC
- Message-ID
- <fabb9a1e1003290641s27306373k3a2669318a7b67a8@mail.gmail.com>
- In-Reply-To
- <20100329133132.GA12201@thyrsus.com>
Heya,
On Mon, Mar 29, 2010 at 07:31, Eric Raymond <esr@thyrsus.com> wrote:
> Now, about step 3. The official git command set only directly supports > amending the tip commit. There is a semi-documented procedure for > amending previous commits using an interactive rebase, but trying to > understand it makes my brain hurt. Don't want to go there.
Go there anyway. These days it's as simple as changing "pick" to "reword" on the appropriate commit. Really, give it a try.
$ git rebase -i origin/master
-- Cheers, Sverre Rabbelier