Re: Git feature request: --amend older commit
- From
- George Spelvin <linux@horizon.com>
- Date
- Aug 17, 2012, 17:00 UTC
- Message-ID
- <20120817170005.27451.qmail@science.horizon.com>
- In-Reply-To
- <502E725B.2040906@alum.mit.edu>
> Have you tried "git rebase --autosquash"? It does part of what you are > asking for and additionally allows multiple fixup commits to be queued > up and processed in a single rebase.
No, I hadn't! It's not *quite* as simple as what I had hoped for, but definitely is progress in that direction.
In particular, I can probably manage to use those to write a script that does what I want. Something that ends up with something like "EDITOR=/bin/true git rebase -i --autosquash $base"
Thanks you! I apologize for my failure to (Re-) RTFM. I have done so numerous times, but the feature wasn't there last time I looked.