On Wed, Jan 15, 2014 at 08:24:21AM +0100, Lars Hjemli wrote: > On Tue, Jan 14, 2014 at 10:09 PM, Doug Carter <dcar...@mercycorps.org> wrote: > > I'd like to create > > a some ssl clone text that can be copy/pasted like github does it: > > > > g...@git.foo.com:repo.git > > > > Is there a way to do this and not include any URLs? > > Yes, using the 'clone-prefix' and/or 'clone-url' settings in cgitrc: > http://git.zx2c4.com/cgit/tree/cgitrc.5.txt
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 "g...@git.foo.com:$CGIT_REPO_URL", the text displays OK, but the href is set to: https://git.foo.com/cgit.cgi/foo/g...@git.foo.com:foo.git Maybe this is an apache config thing? _______________________________________________ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit