tech_notes

A collection of notes on setups and implementations.
Log | Files | Refs | README

commit 94cbf30138bf6aad87ca97578c9cebd64c47b26e
parent 97d844ffbe0e4417a71395882c7eb9608530342c
Author: Julian Piribauer <julian.piribauer@gmail.com>
Date:   Wed, 18 Feb 2026 22:06:27 +0100

Adding bash style

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

diff --git a/stagit.md b/stagit.md @@ -12,6 +12,7 @@ and generates a website IF A FILE git-daemon-export-ok EXISTS. Finally, all these public repos are listed in /var/www/git/index.html. Create /usr/local/bin/update-stagit.sh with + ```bash #!/bin/bash @@ -59,6 +60,7 @@ Create /usr/local/bin/update-stagit.sh with ``` and make it executable: + ```bash chmod +x /usr/local/bin/update-git.sh ``` @@ -94,9 +96,9 @@ Finally, we give all users reading rights to all subfolders of the repo folders: New repos can now be initiated on the server with - ```bash - git init --bare my_repo.git - ``` +```bash +git init --bare my_repo.git +``` The website and the repo endpoint will be updated upon the first push (and future ones). Make sure to create a git-daemon-export-ok file to make the repo public.