最佳答案
I'm writing Autotools code and in the process of development, tons of files are generated.
Is there anyway to tell git to remove all files from a directory that are not part of the repository?