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

Re: git commit question

From
Junio C Hamano <junkio@cox.net>
Date
Aug 29, 2005, 20:36 UTC
Message-ID
<7vd5nwa3as.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<431368D0.40604@candelatech.com>
Ben Greear <greearb@candelatech.com> writes:
> Is there a way to tell it to add all modified files (that git commit mentions)
> to the cache for commit, or do I have to not be so lazy and
> paste them all on the cmd line?

Perhaps 'git commit -a' is what you want (it is documented; http://www.kernel.org/pub/software/scm/git/docs/, especially git-commit-script.html there).

Previous: Ben Greear
Message 2 of 2 in “git commit question”
  1. Ben GreearAug 29, 2005
  2. Junio C HamanoAug 29, 2005

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.