# [RFC] proposal for command "publish"

1 messages from 2007-02-28 to 2007-02-28. Participants: Paolo Bonzini.
Thread: https://gitlist.dev/t/7017

## Paolo Bonzini, 2007-02-28 13:49

Subject: [RFC] proposal for command "publish"
Message-ID: <es419n$thr$1@sea.gmane.org>
URL: https://gitlist.dev/e/es419n%24thr%241%40sea.gmane.org

```
I'm proposing a command "publish", where

   git publish URL

would do

   git repack
   git clone --bare . URL
   git remote add origin URL

The idea is that this would be the step from preparing a repository 
(either from scratch, or importing from other SCM) to publishing it 
remotely.  Is this sensible?

Options from clone that would make sense for publish are -l, -q, 
--template, --upload-pack.

Paolo

```
