4 ms·
It's trivially easy to do if you run something like: git rebase --exec "test_command" where test_command is one or more commands that you run to test the co
by u801e 6y ago
It's trivially easy to do if you run something like:
git rebase --exec "test_command"
where test_command is one or more commands that you run to test the code for that commit. I typically do this for unit tests and integration tests.
If the tests fail for some reason, you can amend the commit to fix the test and then run
git rebase --continue
to test the next commit.