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

commit --strict feature request

From
Dario Bertini <berdario@gmail.com>
Date
Mar 23, 2010, 17:47 UTC
Message-ID
<4BA8FEA4.60504@gmail.com>

Hi, i usually use bzr, and today i was searching for a commit --strict equivalent in git... i asked around and it seems there isn't one, so i'm writing this.

basically, by doing commit --strict it refuses to commit if there are untracked (and thus not ignored) files in the tree, this helps against forgetting to add new files (actually i find it so useful that i've even changed commit to be an alias to commit --strict in my bzr aliases )

greetings
Next: Tim Mazid
Message 1 of 4 in “commit --strict feature request”
  1. Dario BertiniMar 23, 2010
  2. Tim MazidMar 24, 2010
  3. Tim MazidMar 24, 2010
  4. Tay Ray ChuanMar 27, 2010

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.