1

Does directory name case matters while ignoring a directory in Git on windows?

Say if bin/ and Bin/ are same in exclude file in git on windows?

Sameer
  • 3,124
  • 5
  • 30
  • 57

1 Answers1

2

I just tested it with Git for Windows 1.9.5 (not yet tested with Git for Windows 2.3.5 though)

It doesn't seem to be case sensitive: bin/xxx and Bin/xxx are equally ignored when bin/ or Bin/ are set in the .gitignore on Windows.

Ie, git check-ignore -v bin/xxx would return Bin/ rule if Bin/ was in .gitignore.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250