Probably a repeat, but I can't find an answer.
So I have a .gitignore
file:
transactions.csv
transactions_test.csv
**/test.gnucash*
test
**/test.gnucash.2*
And the following directory:
LICENSE test.gnucash transactions_test.csv
main.py test.gnucash.20180615182021.gnucash transactions_testPUBLIC.csv
README.md test.gnucash.20180618121545.gnucash translations.json
test/ transactions.csv
However when I run git ls-tree -r master --name-only
I get:
.gitignore
.vscode/settings.json
LICENSE
README.md
main.py
test.gnucash.20180615182021.gnucash
test.gnucash.20180618121545.gnucash
transactions_testPUBLIC.csv
translations.json
Even weirder than that, if I run this through a glob tester, it works correctly. (see hyperlink)
Any ideas as to what's happening? I'm running Git for Windows on Windows 10.
$ git --version
git version 2.17.0.windows.1