List for cgit developers and users
 help / color / mirror / Atom feed
From: hjemli at gmail.com (Lars Hjemli)
Subject: Fwd: ssh clone config
Date: Wed, 15 Jan 2014 08:25:13 +0100	[thread overview]
Message-ID: <CAFXTnz7iYgnFwjFU8sXJ6H2tJeB=fsF=EOgRuQxY+8YxT9K3EA@mail.gmail.com> (raw)
In-Reply-To: <CAFXTnz5ZN26sNMWpCg86wadvqJXrtzncWKvmoRQALmAXU_BXzg@mail.gmail.com>

On Tue, Jan 14, 2014 at 10:09 PM, Doug Carter <dcarter at mercycorps.org> wrote:
> I'd like to create
> a some ssl clone text that can be copy/pasted like github does it:
>
>   git at 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

--
larsh


  parent reply	other threads:[~2014-01-15  7:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 21:09 dcarter
     [not found] ` <CAFXTnz5ZN26sNMWpCg86wadvqJXrtzncWKvmoRQALmAXU_BXzg@mail.gmail.com>
2014-01-15  7:25   ` hjemli [this message]
2014-01-15 14:24   ` dcarter
2014-01-15 14:26     ` Jason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFXTnz7iYgnFwjFU8sXJ6H2tJeB=fsF=EOgRuQxY+8YxT9K3EA@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).