We use this gitignore file as a starter file for our projects:
We typically add many more items here depending on the project.
https://github.com/SixArm/gitignore/gitgnore
These rules can be adjusted as you wish for your projects.
To test this tool, see the test directory and its script:
We welcome constructive feedback, suggestions, questions, etc.