For a few months now, I've been using a concept on .gitignore files that I 
would like to suggest to you.

Since there are many meta files generated by multiple IDEs, it is more 
likely that we know for sure what we want to "accept" as source/resource 
file, than to know every possible "non-accepted" source/resource file.
That said, I am using a .gitignore file like the one below, for example:








*# ignore everything*# accept specific 
extensions!src/**/*.py!src/**/*.yml!tests/**/*.py!tests/**/*.yml*

My suggestion is to implement something like a *.gitaccept* file, so I 
wouldn't need to ignore everything and then negate what I want to "not 
ignore".

What do you think about it?

Hope to hear from you soon.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/96c09071-32f9-4f5c-a6b0-c18bd13cec44n%40googlegroups.com.

Reply via email to