Re: [RFC] git-publish
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 24, 2006, 12:06 UTC
- Message-ID
- <20060924120634.GN20017@pasky.or.cz>
- In-Reply-To
- <46a038f90608131653k1a2d0480x411be91bdc3f60ca@mail.gmail.com>
Dear diary, on Mon, Aug 14, 2006 at 01:53:07AM CEST, I got a letter where Martin Langhoff <martin.langhoff@gmail.com> said that...
Show 13 quoted lines
> On 8/14/06, Daniel Barkalow <barkalow@iabervon.org> wrote: > >Like how "pull" is "fetch" + "merge", > > Slightly OT... I thought git-publish host:/path/to/repo.git would be > something to automate the initial "publishing" actions, which for me > are: > > ssh host 'mkdir path/to/repo.git' > ssh host 'GIT_DIR=path/to/repo.git git init-db' > ssh host 'GIT_DIR=path/to/repo.git git repo-config someopts' > git-push git+ssh://host:/path/to/repo.git > > Hmmmm. Would this be git publish-repo maybe?
Actually, this is a nice idea for cg-admin-setuprepo, thanks. :-) It now accepts a git+ssh URL just as well as a local path. (It won't work with git-shell, but that's a good thing.)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)