Reputation: 2449
Is there a way to limit the filetypes tracked by git by specifying a set of acceptable file types in .gitignore?
I want to be able to limit the filetypes commited to my compiled directory. I understand that the parser is not regex but I'd like something like this.
!src/(*.js|*.html|*.css)
Upvotes: 4
Views: 584