You don't need to reset; commit --amend runs the hooks. So the "For every commit" part can be simplified to
git commit -C HEAD --amend *check and fix errors* git rebase --continue
Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum Sun, 03 Oct 2010 15:35:10 -0700
You don't need to reset; commit --amend runs the hooks. So the "For every commit" part can be simplified to
git commit -C HEAD --amend *check and fix errors* git rebase --continue