Add pre-push git hook
This commit is contained in:
parent
e51d8b73f0
commit
cfd26ef6aa
1 changed files with 7 additions and 0 deletions
7
git_template/hooks/pre-push
Executable file
7
git_template/hooks/pre-push
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
local_hook="$HOME"/.git_template.local/hooks/pre-push
|
||||
|
||||
if [ -f "$local_hook" ]; then
|
||||
. "$local_hook"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue