Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/templates/hooks/pre-merge-commit.sample # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / templates / hooks / pre-merge-commit.sample` 13 lines ยท 416 bytes Raw Blame History 1 #!/bin/sh 2 # 3 # An example hook script to verify what is about to be committed. 4 # Called by "git merge" with no arguments. The hook should 5 # exit with non-zero status after issuing an appropriate message to 6 # stderr if it wants to stop the merge commit. 7 # 8 # To enable this hook, rename this file to "pre-merge-commit". 9 10 . git-sh-setup 11 test -x "$GIT_DIR/hooks/pre-commit" && 12 exec "$GIT_DIR/hooks/pre-commit" 13 :