Reorder/rewrite .gitignore.