Take advantage of Git rebase
Oct 6, 2022Christian Couder

Summary
This post introduces the `git rebase -i` command as a method to rework commits for cleaner merge requests, improving review efficiency and code quality. It explains the interactive rebase process, including editing commit instructions, continuing or aborting the rebase, and using various instructions like `reword`, `edit`, `squash`, and `fixup`. It also highlights the `--exec` flag for running shell commands (e.g., tests) after each rebased commit, ensuring code integrity.