Update gitignore
Solve pattern matching problem