Add patterns to gitignore.