tech_notes

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2e8c4701e206fce363522232098d10397e568a0a
parent 6f24f2aefc8c04057ba1ab5b12b47523749293a2
Author: Julian Piribauer <julian@Julians-Air.fritz.box>
Date:   Mon, 16 Feb 2026 21:17:59 +0100

Layout

Diffstat:
Mstagit.md | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/stagit.md b/stagit.md @@ -5,7 +5,7 @@ The web server has its root at /var/www/git/. First, we create a helper script: -/usr/local/bin/update-stagit.sh: + /usr/local/bin/update-stagit.sh: #!/bin/sh set -eu @@ -31,7 +31,8 @@ make it executable: chmod +x /usr/local/bin/update-git.sh We now set up a post-receive hook that creates the folder structure for new repos. -/srv/git/template/hooks/post-receive: + + /srv/git/template/hooks/post-receive: #!/bin/sh /usr/local/bin/update-stagit.sh "$(pwd)"