Skip to contentSkip to conversation

proposal for command "publish"

RFC Paolo Bonzini 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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