There was an error while loading. Please reload this page.
1 parent 22cf331 commit 29a98abCopy full SHA for 29a98ab
post-commit_template
@@ -2,7 +2,7 @@
2
3
4
# PATH to the repository of interest
5
-export PATH=$PATH:~/Desktop/Code/MyCodeRepository/.git/hooks
+export PATH=$PATH:{{MY_REPO_PATH}}.git/hooks
6
7
toplevel_path=`git rev-parse --show-toplevel`
8
toplevel_dir=`basename "$toplevel_path"`
@@ -25,4 +25,4 @@ fi
25
echo $tweet
26
# Write a full path to where you put the post_commit_hook.py so it is executed
27
# the $tweet variable is the command line argument that will be passed to the python script
28
-python ~/Desktop/Code/MyCodeRepository/.git/hooks/post_commit_hook_autogen.py $tweet
+python {{MY_REPO_PATH}}.git/hooks/post_commit_hook_autogen.py $tweet
0 commit comments