Is there any chance to do an opposite to what .gitignore file does? I mean include only specified files and exclude all the rest? Thank you in advance.
You can try the following:
#ignore everything
*
#except .c source
!*.c
(!
negates the patterns specified in gitignore)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With