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
  • 2,902
  • 4
  • 29
  • 49

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,129,465
  • 480
  • 4,036
  • 4,755