5 ms·
If you use `git commit --fixup=<commit>`, then the new commit will be automatically moved, and given the "fixup" action when doing an interactive rebase. (Same
by keeperofdakeys 9y ago
If you use `git commit --fixup=<commit>`, then the new commit will be automatically moved, and given the "fixup" action when doing an interactive rebase. (Same for --squash).
This means you only need to match the fixups to commits once, when you're initially creating them.
- xyzzy_plugh 9y agoYes, but I rarely use this as I often haven't made up my mind regarding how the series should be structured. If instead I could fixup using a tag or theme identifier, which would be used to reorder and group commits, then I would spend less time in my rebase.