"pre-commit the tool" supports the pre-push hook (as well as the various other hooks).