How to unignore files in certain directories?
- From
- Peng Yu <pengyu.ut@gmail.com>
- Date
- Jul 25, 2012, 15:48 UTC
- Message-ID
- <CABrM6wk+acut6EaoK=_GuQw3w9vhn_4ONoF21cj1GtEtHFWBKQ@mail.gmail.com>
Hi,
I have the following in .gitignore to ignore *.txt files.
*.txt
But I want to keep the *.txt files in, for example, data/ and all its subdirectories. I don't know should the the correct way to unignore these *.txt files. Could anybody show me the command that I should add to .gitignore? Thanks!
-- Regards, Peng