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

Re: [PATCH 1/2] init: support --import to add all files and commit right after init

From
SBSanti Béjar <santi@agolina.net>
Date
Mar 25, 2009, 11:56 UTC
Message-ID
<adf1fd3d0903250456l3c14a863pd6ee00c0025100c4@mail.gmail.com>
In-Reply-To
<1237978720-2500-1-git-send-email-pclouds@gmail.com>
2009/3/25 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
Show 12 quoted lines
> +-m <message>::
> +--import <message>::
> +
> +Commit everything to the newly initialized repository. This is equivalent to:
> +
> +----------------
> +$ git init
> +$ git add .
> +$ git commit -q -m <message>
> +----------------
> +
> +If no message is given, "Initial commit" will be used.
Why a default message and not running the editor?
Santi
Previous: Nguyen Thai Ngoc DuyNext: Johannes Schindelin
Message 4 of 14 in “init: support --import to add all files and commit right after init”
  1. 1/2 init: support --import to add all files and commit right after initNguyễn Thái Ngọc Duy, Mar 25, 2009
  2. Jeff KingMar 25, 2009
  3. Nguyen Thai Ngoc DuyMar 25, 2009
  4. Santi BéjarMar 25, 2009
  5. Johannes SchindelinMar 25, 2009
  6. Jeff KingMar 25, 2009
  7. Santi BéjarMar 25, 2009
  8. Markus HeidelbergMar 26, 2009
  9. Johannes SchindelinMar 27, 2009
  10. Jeff KingMar 27, 2009
  11. Jeff KingMar 27, 2009
  12. Markus HeidelbergMar 28, 2009
  13. Johannes SchindelinMar 28, 2009
  14. Markus HeidelbergMar 28, 2009

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.