Test all commits during rebase
suggest changeBefore a pull request, it helps to know that each commit in the branch builds and passes tests. -x runs a command after every commit that the rebase replays.
For example:
git rebase -i -x make
runs the interactive rebase and, after each replayed commit, runs make. If make fails, Git stops so you can fix the commit before the next one is picked.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents