Re: Get "responsible" .gitignore file / rule
- From
- Victor 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)