diff --git a/sections/advanced.md b/sections/advanced.md index 65d30ac5..5226e376 100644 --- a/sections/advanced.md +++ b/sections/advanced.md @@ -182,6 +182,8 @@ Note that you need to be using at least git 2.24 for this hook. `pre-push` is triggered on `git push`. +note: `pre-push` hooks are not triggered for ref deletions. + environment variables: - `PRE_COMMIT_FROM_REF`: the revision that is being pushed to. - `PRE_COMMIT_TO_REF`: the local revision that is being pushed to the remote.