From f12269984b86b20441d90f35de6cc16addf89e20 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 31 Aug 2023 21:14:50 +0100 Subject: [PATCH] Merge pull request #26 from stappersg/export How to avoid 'Repository not exported'--- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7117fc4..d3b9c29 100644 --- a/README.md +++ a/README.md @@ -142,3 +142,21 @@ When you get `message: "repository path '/git/orzklv-dots/' is not owned by current user"` in the logging, it means exactly that. It is a _git design choice_, only owner writes to the git repository. Match the `uid` what `rgit` started with the `uid` of the git repo on the filesystem. + +##### Repository not exported + +Message `Git returned an error: Repository not exported` is like _"repo not yet exposed"_. + +Go to the `.git` directory and create file `git-daemon-export-ok`. + +```text +$ cd /srv/rgit/rgit.git +$ ls +HEAD config hooks objects refs +branches description info packed-refs +$ touch git-daemon-export-ok +$ ls +HEAD config git-daemon-export-ok info packed-refs +branches description hooks objects refs +$ +``` -- rgit 0.1.3