Exceptions in .gitignore [duplicate] May 23, 2022 by IT Nursery How can I add an exception to .gitignore, like “ignore all the .dll files BUT myfile.dll”? 5 Answers 5