From: Petr Baudis Date: Sun, 24 Sep 2006 12:06:34 GMT Subject: Re: [RFC] git-publish 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 said that... > On 8/14/06, Daniel Barkalow 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