Skip to content

Commit

Permalink
Create pre-merge-commit with default script
Browse files Browse the repository at this point in the history
  • Loading branch information
darksidemilk authored Aug 8, 2024
1 parent 2feb3b3 commit c7cc33d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .githooks/pre-merge-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
# this was taken verbatim from the example hook

. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
:

0 comments on commit c7cc33d

Please sign in to comment.