tags:

views:

203

answers:

1

Hi,

How to add an exception to .gitignore, like "ignore all the .dll files BUT myfile.dll"? Thanks

+3  A: 

Use ! to negate the pattern:

*.dll
!myfile.dll
Ben James