Add .gitignore, rebuild patches