0

I got the following situation: in .gitignore I have the following

#Visual Studio files
...
*.lib
...
Skipping *.lib files is good.

In addition I have lots of Library directories as part of this repo with names like aaa.bbb.ccc.lib which I'd like to commit. Have tons of those projects which are very similar so I'm pretty much reusing the same .gitignore. What is the proper way to do it? Thanks.

Al Dore
  • 3
  • 2

1 Answers1

0

Add an exception rule after the general .lib exclusion rule. See git ignore exception for examples.

Community
  • 1
  • 1
J Burnett
  • 2,410
  • 1
  • 13
  • 9