CGit

Contents

  1. CGit
    1. Clone URLs


Clone URLs

First, enable HTTP cloning in your cgitrc.

enable-http-clone=1

Second, insert a space-delimited list of URLs to each repository configuration. SSH clone instructions can be included, though be aware-a port cannot be specified with a relative path. The maximal options are one of user@ip:port/absolute/path/to/my-repo.git and user@ip:relative/path/to/my-repo.git.

repo.name=my-repo
repo.path=my-repo.git
repo.clone-url=https://git.my-server.com/my-repo [email protected]/my-repo.git


CategoryRicottone