diff options
Diffstat (limited to 'utils/hooks')
-rw-r--r-- | utils/hooks/post-checkout | 3 | ||||
-rw-r--r-- | utils/hooks/post-commit | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/utils/hooks/post-checkout b/utils/hooks/post-checkout new file mode 100644 index 0000000..811a483 --- /dev/null +++ b/utils/hooks/post-checkout @@ -0,0 +1,3 @@ +# .git/hooks/post-checkout +#!/bin/bash +echo "You're now on branch $(git rev-parse --abbrev-ref HEAD)" diff --git a/utils/hooks/post-commit b/utils/hooks/post-commit new file mode 100644 index 0000000..d950da6 --- /dev/null +++ b/utils/hooks/post-commit @@ -0,0 +1,4 @@ +# .git/hooks/post-commit +#!/bin/bash +echo "Commit added:" +git show --stat |