I suspect that this is a duplicate and should be easy, but I could not figure it out.
Suppose this is my folder structure
- Parent folder
- Folder1
- Folder2
- .git
Now I want to add all files in Folder2 except some file type say .xls, something of this sort
git add 'C:\Parent folder\Folder2' <except .xls>
Also let me know if I want to add a specific file type.
Thanks :)