From 2d6ed3fc4bc583aab1721f0646ff3d37a6333444 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 12 Oct 2025 11:54:21 +0200 Subject: [PATCH] Explain how to expose non-bare repos --- infrastructure/roles/git/README.md | 4 ++++ 1 file changed, 4 insertions(+) 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`. -- 2.47.3