Sameer
Sameer

Reputation: 3183

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

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?

Upvotes: 1

Views: 50

Answers (1)

VonC
VonC

Reputation: 1324657

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.

Upvotes: 2

Related Questions