Update .gitignore

Replaced code to Anthony Romrell's recommendation.