aboutsummaryrefslogtreecommitdiff
path: root/infrastructure/roles/git
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-10-12 11:54:21 +0200
committeralex <alex@pdp7.net>2025-10-12 11:54:21 +0200
commit2d6ed3fc4bc583aab1721f0646ff3d37a6333444 (patch)
tree8c18319ca03ef49d0be257ef3d87ca380444f6a0 /infrastructure/roles/git
parent81f74a2bfb9ce37f2d0322169dbc93b7faf980f3 (diff)
Explain how to expose non-bare repos
Diffstat (limited to 'infrastructure/roles/git')
-rw-r--r--infrastructure/roles/git/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/infrastructure/roles/git/README.md b/infrastructure/roles/git/README.md
index 90a558d..37f6ceb 100644
--- a/infrastructure/roles/git/README.md
+++ b/infrastructure/roles/git/README.md
@@ -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`.