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

Query about gitignore

From
DSDivyaditya Singh <divyadityasnaruka@gmail.com>
Date
Feb 6, 2024, 20:26 UTC
Message-ID
<B7F364DA-27E7-4BDC-93EE-32E6430B6ACE@gmail.com>
Hello there, 

I hope you are having a wonderful day. I apologize if this is inappropriate but I wanted to ask is there a way that I can make my .gitignore such that it ignores the entire parent directory of a matching file.

Thank You DV

Next: Patrick Steinhardt
Message 1 of 3 in “Query about gitignore”
  1. Divyaditya SinghFeb 6, 2024
  2. Patrick SteinhardtFeb 7, 2024
  3. Patrick SteinhardtMar 4, 2024

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.