🏆 I provide private lessons on Emacs, Linux, and Life in general: https://protesilaos.com/coach/. Lessons continue throughout the year.

Emacs: interactively rebase git commit with Magit

Keep your commit logs clean before pushing to the remote

Raw link: https://www.youtube.com/watch?v=7qEoSr9Mii4

In this screen cast I demonstrate how to use magit, the superb git porcelain for Emacs, to interactively re-base your commits before pushing them to the remote repository. This is a good way of rewriting your local branch’s history, so as to keep things clean and make them easier to understand.

Also check my other short video on the same principle: git commit fixup with Magit.