]> xn--ix-yja.es Git - infrastructure.git/commitdiff
Explain how to expose non-bare repos
authoralex <alex@pdp7.net>
Sun, 12 Oct 2025 09:54:21 +0000 (11:54 +0200)
committeralex <alex@pdp7.net>
Sun, 12 Oct 2025 09:54:21 +0000 (11:54 +0200)
infrastructure/roles/git/README.md

index 90a558d965d46f95d6c79917746640c952540c4f..37f6cebe266fedf564b07d36cc51f7954da39f8c 100644 (file)
@@ -29,3 +29,7 @@ ln -s $REPOSITORY_PATH ~/public_html/$REPO.git
 ```
 
 Ensure that you push once to the repo, or run `git update-server-info` in the repository.
+
+## Using non-bare repositories
+
+Alternatively, use non-bare repositories and symlink the `.git` directory to `/var/lib/git` or `~/public_html`.