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

Re: Explicitly adding ignored files in subdirectories not working

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 23, 2010, 21:50 UTC
Message-ID
<alpine.DEB.1.00.1002232248000.3980@intel-tinevez-2-302>
In-Reply-To
<fabb9a1e1002231307o2c3499e6k3f1026f71a544b16@mail.gmail.com>
Hi,
On Tue, 23 Feb 2010, Sverre Rabbelier wrote:
> I've been bitten by this before, is this behavior intentional? We
> don't even warn that the user's action was ignored; at the very least
> we should do that. The current behavior is just frustrating.
I get something like this:

-- snip -- $ cd Documentation $ touch doc.dep $ git add doc.dep The following paths are ignored by one of your .gitignore files: Documentation/doc.dep Use -f if you really want to add them. fatal: no files added -- snap --

Ciao, Dscho

Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 2 of 8 in “Explicitly adding ignored files in subdirectories not working”
  1. Sverre RabbelierFeb 23, 2010
  2. Johannes SchindelinFeb 23, 2010
  3. Sverre RabbelierFeb 23, 2010
  4. Johannes SchindelinFeb 23, 2010
  5. Jeff KingFeb 24, 2010
  6. Sverre RabbelierFeb 27, 2010
  7. Junio C HamanoFeb 27, 2010
  8. Sverre RabbelierFeb 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.