edit gitignore with correct pattern