From 8d663f4d3c24b535ed6663f8238c6c38d63275e8 Mon Sep 17 00:00:00 2001 From: Maximilian Held Date: Sun, 19 Jan 2025 21:55:13 +0100 Subject: [PATCH] add hook --- README.md | 8 ++++++++ post-checkout.sample | 2 ++ 2 files changed, 10 insertions(+) create mode 100755 post-checkout.sample diff --git a/README.md b/README.md index ddf2ea3..c6c7601 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # muggle devops package + +## Installation + +```sh +cp post-checkout.sample .git/hooks/post-checkout +chmod +x .git/hooks/post-checkout +sh .git/hooks/post-checkout +``` diff --git a/post-checkout.sample b/post-checkout.sample new file mode 100755 index 0000000..6f72d77 --- /dev/null +++ b/post-checkout.sample @@ -0,0 +1,2 @@ +#!bin/bash +../install.sh