How to Ignore Everything in a Folder except Specific File(s) in GIT
Sometimes it might be required to ignore everything in a folder except specific file(s). For anyone working with git, they would be familiar with the .gitignore file located at the base folder. GIT uses this file to decide, which files/folders to exclude from the source-control. Examples are:1. node_modules/2. cache folders3. […]