Modify the .gitignore file to ignore generated files.