README.md: fix space into 'How to interact with git server' step
This commit is contained in:
parent
8eda39ee98
commit
cc48c7f800
@ -49,19 +49,19 @@ Supported clone method:
|
|||||||
- SSH: authentication with gitolite configuration inside `gitolite-admin`.
|
- SSH: authentication with gitolite configuration inside `gitolite-admin`.
|
||||||
For more information, please refer to [basic administration](https://gitolite.com/gitolite/basic-admin.html).
|
For more information, please refer to [basic administration](https://gitolite.com/gitolite/basic-admin.html).
|
||||||
|
|
||||||
Syntax: `git clone ssh://git@<server_ip>/<repo_name>`
|
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.
|
- 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
|
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.
|
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 clone http://<server_ip>/<repo_name>
|
||||||
|
|
||||||
- GIT: `git daemon` is enabled by default with `upload-pack` service
|
- GIT: `git daemon` is enabled by default with `upload-pack` service
|
||||||
(this serves git fetch-pack and git ls-remote clients), allowing anonymous
|
(this serves git fetch-pack and git ls-remote clients), allowing anonymous
|
||||||
fetch, clone.
|
fetch, clone.
|
||||||
|
|
||||||
Syntax: `git clone git://<server_ip>/<repo_path>`
|
git clone git://<server_ip>/<repo_path>
|
||||||
|
|
||||||
## Docker-compose
|
## Docker-compose
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user