Shereef Marzouk
Shereef Marzouk

Reputation: 3392

Preceding `/` preventing gitignore exceptions from working for file extension exclusion

*.dll

!/ThirdPartyLibraries/*.dll
!/ThirdPartyLibraries/*/*.dll
!/ThirdPartyLibraries/*/lib/*.dll
!/ThirdPartyLibraries/*/lib/*/*.dll

I am trying to include dlls only from that folder but it won't let me

I searched and I searched all I found was directory ignores then directory exceptions which doesn't apply here

if this has been asked before, please forgive my search skills

Upvotes: 1

Views: 32

Answers (1)

Nico Albers
Nico Albers

Reputation: 1696

Like we discussed in the comments, you can just type ThirdPartyLibraries/**/*.dll as suggested in this thread.

Happy that it worked!

Upvotes: 1

Related Questions