diff options
author | Jesús <heckyel@hyperbola.info> | 2022-10-04 22:55:19 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-10-04 22:55:19 +0800 |
commit | 8eda39ee980b59d5461d89ac5387eebdedb2520f (patch) | |
tree | b4c5e958d96e612e81c760ed7e6259e0ec183c67 /README.md | |
parent | c6b64dee3f74b86b889a52d639e86335e79c9e69 (diff) | |
download | gitolite-cgit-docker-8eda39ee980b59d5461d89ac5387eebdedb2520f.tar.lz gitolite-cgit-docker-8eda39ee980b59d5461d89ac5387eebdedb2520f.tar.xz gitolite-cgit-docker-8eda39ee980b59d5461d89ac5387eebdedb2520f.zip |
README.md: add space into 'How to interact with git server' step
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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@<server_ip>/<repo_name>` - 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://<server_ip>/<repo_name>` - 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://<server_ip>/<repo_path>` + fetch, clone. + + Syntax: `git clone git://<server_ip>/<repo_path>` ## Docker-compose |