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

feature suggestion: git commit -a -o ...

From
David Reitter <david.reitter@gmail.com>
Date
Jun 25, 2009, 20:39 UTC
Message-ID
<F9B3FF44-FC23-4ADA-A933-9BED857AB469@gmail.com>

I'm wondering why "git commit -a -o *" is not supported. With this command I'd like to commit the intersection of all changed, tracked files and those in the current directory.

I found that "git commit ." does what I want and it even detects deleted files (excellent, thank you).

Next: Jeff King
Message 1 of 2 in “feature suggestion: git commit -a -o ...”
  1. David ReitterJun 25, 2009
  2. Jeff KingJun 26, 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.