$GIT_DIR/info/exclude fails to negate a pattern defined by core.excludesfile
- From
Dun Peal <dunpealer@gmail.com>
- Date
- Oct 12, 2014, 02:58 UTC
- Message-ID
- <CAD03jn4md9YJZ3fFWmvjiO2KSztc-02QpznXO3LJeiZDz8YhrQ@mail.gmail.com>
I have the pattern `*.out` defined in my `core.excludesfile`. According to the documentation[1], patterns defined in `$GIT_DIR/info/exclude` take precedence over `core.excludesfile`, so for one particular project that needs to track some `.out` files, I created `$GIT_DIR/info/exclude` with just one pattern: `!*.out`.
Yet for some reason, `git status` still fails to report newly created `.out` files for that project. Am I misunderstanding the documentation?
Thanks, D.
[1] http://jk.gs/gitignore.html