git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: TODO: git should be able to init a remote repo

From
Jay Soffian <jaysoffian@gmail.com>
Date
Apr 13, 2010, 21:42 UTC
Message-ID
<q2j76718491004131442q5ec8588en75611f97af26fac@mail.gmail.com>
In-Reply-To
<20100413195826.GA11597@LK-Perkele-V2.elisa-laajakaista.fi>

On Tue, Apr 13, 2010 at 3:58 PM, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:

> Couple of concerns:
>
> - That seems awfully ssh-specific[1]...

Of course it is. It's not meant to cover every scenario, just what I feel is a common one.

> - How remote end could deny the operation, modify paths and/or
> get post-creation notification?

Huh? Obviously this only works if you've got remote shell access, and that's the only scenario it's intended to cover. As I said, it just simplifies 3 commands down to 1.

> - How to handle systems that would autocreate the repository anyway
> if push was attempted?
Again, that is not the use case "git remote init" is for.
> [1] Well, its not like one would want to do that with gits:// anyway,
> since there's probably gitolite install on other end anyway...
And this isn't for that scenario.
j.
Previous: Ilari LiusvaaraNext: Jeff King
Message 3 of 6 in “TODO: git should be able to init a remote repo”
  1. Jay SoffianApr 13, 2010
  2. Ilari LiusvaaraApr 13, 2010
  3. Jay SoffianApr 13, 2010
  4. Jeff KingApr 14, 2010
  5. Junio C HamanoApr 14, 2010
  6. Jeff KingApr 14, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.