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

suppress fatal pathspec errors from "git add"?

From
ASaaron smith <beingthexemplarylists@gmail.com>
Date
Dec 31, 2009, 21:24 UTC
Message-ID
<d7ac1a680912311324i85b7a5anadaf2ac13f215873@mail.gmail.com>

I'm looking through the add documentation, I don't see a way to suppress fatal pathspec errors? For example, if I'm adding 5 files, but one of them is mis-spelled, can I have git just supress the errors and add the other four? thanks much!

Next: Jeff King
Message 1 of 6 in “suppress fatal pathspec errors from "git add"?”
  1. aaron smithDec 31, 2009
  2. Jeff KingJan 3, 2010
  3. aaron smithJan 3, 2010
  4. Junio C HamanoJan 3, 2010
  5. Jeff KingJan 3, 2010
  6. Jakub NarebskiJan 3, 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.