commit 8c48270e8e7672425f78a47975ae0dc5823bcfd0 parent e96615247d7aee371b6180964b4d2e9ae78d9d94 Author: pyratebeard <root@pyratebeard.net> Date: Wed, 9 Nov 2022 14:13:55 +0000 move hooks to tracked dir updates Diffstat:
A | .githooks/README.md | | | 1 | + |
A | .githooks/post-commit | | | 2 | ++ |
A | .githooks/prepare-commit-msg | | | 3 | +++ |
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.githooks/README.md b/.githooks/README.md @@ -0,0 +1 @@ +git config core.hooksPath .githooks diff --git a/.githooks/post-commit b/.githooks/post-commit @@ -0,0 +1,2 @@ +#!/bin/sh +git push origin master diff --git a/.githooks/prepare-commit-msg b/.githooks/prepare-commit-msg @@ -0,0 +1,3 @@ +commit=$1 + +echo "updates" >> $commit