# [RFC] proposal for command "publish"

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

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

Subject: [RFC] proposal for command "publish"
Message-ID: <45E58811.9020005@lu.unisi.ch>
URL: https://gitlist.dev/e/45E58811.9020005%40lu.unisi.ch

```
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

```
