[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upload to git.debian.org



On Sun, 05 Apr 2009 18:25:38 +0800, Chow Loong Jin wrote:

> alioth:~$ cd /git/pkg-multimedia
> alioth:/git/pkg-multmedia$ ./setup-repository <reponame> <description>
> alioth:/git/pkg-multimedia$ ^D
> local:~$ git clone ssh://username@git.debian.org/git/<reponame>.git
> local:~$ cd <reponame>

I tend to avoid including usernames into URLs. :)

this is better, IMHO:

$ cat <<END >> ~/.ssh/config
> 
> Host git.debian.org
> User foo-guest
> END
$
$ git clone git+ssh://git.debian.org/git/pkg-multimedia/reponame.git
$ cd reponame

:)

This way, if one ever becomes DD, or changes username for whatever reason, you
don't have to reclone everything -- just edit ~/.ssh/config

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: