aboutsummaryrefslogtreecommitdiff
path: root/share/templater/git/files
diff options
context:
space:
mode:
Diffstat (limited to 'share/templater/git/files')
-rw-r--r--share/templater/git/files/Makefile.git8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/templater/git/files/Makefile.git b/share/templater/git/files/Makefile.git
new file mode 100644
index 0000000..026176b
--- /dev/null
+++ b/share/templater/git/files/Makefile.git
@@ -0,0 +1,8 @@
+#
+# Makefile for Git-related tasks - https://templater.fluxo.info
+#
+
+# Configure a git post-receive hook
+post_receive:
+ git config receive.denyCurrentBranch ignore
+ test -s bin/post-receive && cd .git/hooks && ln -sf ../../bin/post-receive