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

Init on push

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Nov 8, 2008, 16:08 UTC
Message-ID
<200811081708.45672.robin.rosenberg.lists@dewire.com>
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
Next: Junio C Hamano
Message 1 of 11 in “Init on push”
  1. Robin RosenbergNov 8, 2008
  2. Junio C HamanoNov 8, 2008
  3. Alexander GavrilovNov 8, 2008
  4. Junio C HamanoNov 8, 2008
  5. Jakub NarebskiNov 8, 2008
  6. Francis GaliegueNov 8, 2008
  7. Junio C HamanoNov 8, 2008
  8. Francis GaliegueNov 8, 2008
  9. Francis GaliegueNov 8, 2008
  10. Junio C HamanoNov 9, 2008
  11. Francis GaliegueNov 9, 2008

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.