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

Re: [PATCH] Document the fact that commit -a is the way to go for simple operations

From
Nicolas Pitre <nico@cam.org>
Date
May 6, 2007, 23:07 UTC
Message-ID
<alpine.LFD.0.99.0705061904050.24220@xanadu.home>
In-Reply-To
<11784859173386-git-send-email-Matthieu.Moy@imag.fr>
On Sun, 6 May 2007, Matthieu Moy wrote:
Show 17 quoted lines
> 
> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
> ---
>  Documentation/git-commit.txt |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
> index 2895225..d024c03 100644
> --- a/Documentation/git-commit.txt
> +++ b/Documentation/git-commit.txt
> @@ -54,7 +54,8 @@ OPTIONS
>  -a|--all::
>  	Tell the command to automatically stage files that have
>  	been modified and deleted, but new files you have not
> -	told git about are not affected.
> +	told git about are not affected.  You should use it for most
> +        trivial operations.

I don't think this patch is worth it. If anything it might create more confusion.

There are many ways to commit without -a which still could be considered amongst "most trivial operations".

Nicolas
Previous: Matthieu MoyNext: Matthieu Moy
Message 8 of 10 in “Document the fact that commit -a is the way to go for simple operations”
  1. Document the fact that commit -a is the way to go for simple operationsMatthieu Moy, May 6, 2007
  2. Document git add -u introduced earlier.Matthieu Moy, May 6, 2007
  3. Added a reference to git-add in the documentation for git-update-indexMatthieu Moy, May 6, 2007
  4. Document "commit --only".Matthieu Moy, May 6, 2007
  5. Nicolas PitreMay 6, 2007
  6. Matthieu MoyMay 7, 2007
  7. Matthieu MoyMay 7, 2007
  8. Nicolas PitreMay 6, 2007
  9. Matthieu MoyMay 7, 2007
  10. Johannes SchindelinMay 7, 2007

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.