Comment by teo_zero

4 months ago

Ok. JJ wins this round. Go to commit, fix, go to commit is superior to this bunch of commands in every possible way.

That's your opinion.

The second approach has the exact same amount of commands. The first has 2 more. The add is necessary, because Git separates committing into two steps, which has other benefits. If you would want the JJ behaviour you can call commit -a. The autosquash is necessary, because you don't need to use fixup with autosquash, you can also do it alone, which is recommended if this fixes something, that is already in an older release.