3 ms·
Not sure why downvoted, this is the "correct" way. Can also do --autosquash etc. at the same time.
by 1ark 4y ago
Not sure why downvoted, this is the "correct" way. Can also do --autosquash etc. at the same time.
- elpakal 4y agowhat makes this more correct than the other way? if anything an interactive rebase requires a lot more ceremony
- xorcist 4y agoThrowing away the commit and doing it again can easily go wrong. It is easy to commit unintended changes by mistake. The interactive rebase is a completely normal operation and intended for exactly this situation. It is also much easier to craft more than one commit, and last minute fixes of spelling errors and such things.