Closed
Description
To keep people from accidentally committing the HTML report to git, or to keep them from having to edit their .gitignore to prevent it, the html command can write a .gitignore file into the directory.
It should only write the file if it doesn't already exist. This would let people edit the .gitignore if they did want to commit the report.
Some people suggested only writing the file if it's a git repo, but that's over-engineered. One more tiny dot file inside the report directory won't hurt.