Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
541 B
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: