ssh clone config

Doug Carter dcarter at
Wed Jan 15 15:24:08 CET 2014

On Wed, Jan 15, 2014 at 08:24:21AM +0100, Lars Hjemli wrote:
> On Tue, Jan 14, 2014 at 10:09 PM, Doug Carter <dcarter at> wrote:
> > I'd like to create
> > a some ssl clone text that can be copy/pasted like github does it:
> >
> >   git at
> >
> > Is there a way to do this and not include any URLs?
> Yes, using the 'clone-prefix' and/or 'clone-url' settings in cgitrc:

I've tried a variety of configurations with these settings, but no matter
what I try, it prepends the site URL. For example, if I set clone-url to
"git at$CGIT_REPO_URL", the text displays OK, but the href is
set to:

Maybe this is an apache config thing?

More information about the CGit mailing list