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

Re:Re: I suggest that git commit support -A option, just like hg does.thanks.

From
MWMarc Weber <marco-oweber@gmx.de>
Date
Aug 6, 2011, 19:35 UTC
Message-ID
<1312659297-sup-2956@nixos>
In-Reply-To
<4d88745.134ea.1319fe29f01.Coremail.sinojelly@163.com>
Excerpts from jelly's message of Sat Aug 06 18:17:34 +0200 2011:
> >It seems like you're looking for the -A option to "git add".
> 
> I don't want to run "git add -A" before commit, 
> I want to use "git commit -A -m 'msg' " instead.

if you need it that often add to your .bashrc: gcA(){ git add -A && git commit -m "$@"; }

which is even faster.
Marc Weber
Previous: jellyNext: Miles Bader
Message 4 of 7 in “I suggest that git commit support -A option, just like hg does.thanks.”
  1. jellyAug 6, 2011
  2. Magnus BäckAug 6, 2011
  3. jellyAug 6, 2011
  4. Marc WeberAug 6, 2011
  5. Miles BaderAug 8, 2011
  6. Junio C HamanoAug 8, 2011
  7. Michael WittenAug 8, 2011

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.