This is about common practices. I have a git repository containing the linux kernel. Now I want to build this linux kernel. Should I copy the sources outside the git repository and then build the kernel ? Or, should I run the build inside the git repository itself? My concern is about the many files that are created during a build process that should, I think, be not included in the git repository.
It's okay to compile in the repository itself. New files are ignored by Git until you add them manually for the first time. (You can use