Git development
 help / color / mirror / Atom feed
From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: git@vger.kernel.org
Subject: Init on push
Date: Sat, 8 Nov 2008 17:08:45 +0100	[thread overview]
Message-ID: <200811081708.45672.robin.rosenberg.lists@dewire.com> (raw)

Hi,

I am missing the ability to do this (command line or GUI)

git remote add someremote someurl
git push --init someremote/someurl

The implementation would invoke receive pack on the receiving side with
an --init option. On the server side the repository would be created and
initialized just as one had executed and mkdir and git init --bare.

The target audience is people who are either lazy (like me) or "shellofobic" users.
GUI's would get an extra check box.

This could be extended by passing options to the init switch with init options
for the server side, say --init="--shared=false".

Could a patch for this be acceptable?

-- robin

             reply	other threads:[~2008-11-08 17:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 16:08 Robin Rosenberg [this message]
2008-11-08 19:26 ` Init on push Junio C Hamano
2008-11-08 20:01   ` Alexander Gavrilov
2008-11-08 20:12     ` Junio C Hamano
2008-11-08 20:06   ` Jakub Narebski
2008-11-08 20:08     ` Francis Galiegue
2008-11-08 20:38       ` Junio C Hamano
2008-11-08 20:44         ` Francis Galiegue
2008-11-08 20:50           ` Francis Galiegue
2008-11-09  0:13             ` Junio C Hamano
2008-11-09  1:41               ` Francis Galiegue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811081708.45672.robin.rosenberg.lists@dewire.com \
    --to=robin.rosenberg.lists@dewire.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox