Files
developer-roadmap/roadmaps/git-github/content/pre-push@j5kWEUKwBFg5EMm8-61K9.md

541 B

pre-push

The pre-push hook runs before commits are pushed to a remote repository, allowing checks to run on the commits about to be shared. It's often used to run a test suite or verify that the branch is up to date before allowing the push to proceed. If the script exits with a non-zero status, the push is cancelled.

Visit the following resources to learn more: