diff options
| author | Anton Medvedev <anton@medv.io> | 2025-12-07 21:15:00 +0100 |
|---|---|---|
| committer | Anton Medvedev <anton@medv.io> | 2025-12-07 21:15:00 +0100 |
| commit | efad074cc1fa69a644ccbadd02e82ad692919164 (patch) | |
| tree | 7982bf79d6acb27f0055a1c64ea1a2cb18eb594c | |
| parent | 4b061fa86d836516529233a83889659d90b47e76 (diff) | |
Update self-hosting guide: clarify clone URLs and web view details
| -rw-r--r-- | docs/how-to-self-host-a-git-repository.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/how-to-self-host-a-git-repository.md b/docs/how-to-self-host-a-git-repository.md index d4b0a3f..799dbe3 100644 --- a/docs/how-to-self-host-a-git-repository.md +++ b/docs/how-to-self-host-a-git-repository.md @@ -58,11 +58,10 @@ git push origin master After pushing, git will run gitmal and generate files under `~/public/repo/` directory. -Now you can access the web view at `http://example.com/repo/` and clone the repository: +- Private read-write clone URL: `git@example.com:public/repo.git` +- Public **read-only** clone URL: `http://example.com/repo.git` +- Gitmal static web view: `http://example.com/repo/` ```sh git clone https://example.com/repo.git ``` - -Now you have a read-only clone url `https://example.com/repo.git` and read-write clone url -`git@example.com:public/repo.git`. |
