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

Re: Get "responsible" .gitignore file / rule

From
VTVictor Toni <victor.toni@gmail.com>
Date
Dec 7, 2018, 13:17 UTC
Message-ID
<CAG0OSgdSfxzB1L_hsu9kwHshwckhf+Ay9QiWTZt2d5mNT3ykKw@mail.gmail.com>
In-Reply-To
<CAPig+cRvJWhnm22Xyb9J1wz2sKLycRKbAg299QfTZu5Tq8F07g@mail.gmail.com>

Am Fr., 7. Dez. 2018 um 13:45 Uhr schrieb Eric Sunshine <sunshine@sunshineco.com>:

Show 7 quoted lines
>
> On Fri, Dec 7, 2018 at 7:36 AM Victor Toni <victor.toni@gmail.com> wrote:
> > I'm wondering if there is any way to show which rules (ideally with
> > the .gitignore file they are coming from) are causing a specific file
> > to get ignored so I could easily fix the .gitignore file?
>
> Perhaps the "git check-ignore" command would help.

Thanks for the tip! Works like a charm (had to use the --verbose option though, without, it does not give much feedback)

Previous: Eric Sunshine
Message 3 of 3 in “Get "responsible" .gitignore file / rule”
  1. Victor ToniDec 7, 2018
  2. Eric SunshineDec 7, 2018
  3. Victor ToniDec 7, 2018

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.