Improved gitignore solution