Is there a way to make git ignore the contents of a file?
I have a file that is automatically overwritten by the compiler every time the build process runs, but the compiler fails if the file doesn't exist. Even if the file is completely empty the compiler is still happy. There is no point in updating this file every time I commit in git because its just going to get overwritten anyway.