Modify .gitignore file

Better way of ignoring directories
Merge pull request #1 from andrew-polk/modifyGitIgnore

Modify .gitignore file