3 ms·
With git rebase you can in fact build and test each commit. That's what the 'exec' directive is for (among other things) in rebase scripts! Basically, if you
by cryptonector 9y ago
With git rebase you can in fact build and test each commit. That's what the 'exec' directive is for (among other things) in rebase scripts!
Basically, if you pick a commit, and in the next line exec make && make check (or whatever) then that build & test command will run with the workspace HEAD at that commit. Add such an exec after every pick/squash/fixup and you'll build and test every commit.
- lsaferite 9y agoOr you could use the "-x" parameter to execute something between every rebase.