I am building a kernel for android and I already setup git so it ignores all generated .o
files. I made my first commit before the build (changing some selinux stuff) and that went fine.
I built my kernel and when I tried to run another commit, it listed thousands of .c
and .h
files that were changed during build which I don't really want to commit since it's unnecessary, I obviously cannot exclude these files because if I modify these later I can't commit them.
Any ideas on how to ignore all files that were modified during the build?