From 8eda39ee980b59d5461d89ac5387eebdedb2520f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 4 Oct 2022 22:55:19 +0800 Subject: README.md: add space into 'How to interact with git server' step --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2b9e301..21c458e 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,20 @@ Supported clone method: - SSH: authentication with gitolite configuration inside `gitolite-admin`. For more information, please refer to [basic administration](https://gitolite.com/gitolite/basic-admin.html). + Syntax: `git clone ssh://git@/` - HTTP: `enable-http-clone=1` by default, which let cgit act as a dumb HTTP enpoint for git clones. You can disable that by edit /etc/cgitrc. I may consider to add more feature, so you can set config from `docker run` or `docker-compose.yml`. `git push` is not supported via HTTP at this moment. + Syntax: `git clone http:///` - GIT: `git daemon` is enabled by default with `upload-pack` service (this serves git fetch-pack and git ls-remote clients), allowing anonymous - fetch, clone. Syntax: `git clone git:///` + fetch, clone. + + Syntax: `git clone git:///` ## Docker-compose -- cgit v1.2.3