Skip to content

Commit d5ffd58

Browse files
committed
# Please include a useful commit message!
1 parent 0d1b500 commit d5ffd58

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

hooks/git-push

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
echo "*** git-push hook executing!"
3+
# From https://longair.net/blog/2011/04/09/missing-git-hooks-documentation/
4+
echo Running $BASH_SOURCE
5+
set | egrep GIT
6+
echo GIT_DIR is $GIT_DIR
7+
echo PWD is $PWD

hooks/git-rebase

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "Custom rebasing message."
3+
exit 1

0 commit comments

Comments
 (0)