Reputation: 83
Every time when I try to create new repository, I need to update my .gitignore file with some more comments. Now I am working with cocoapods so that my .gitigore file should ignore the userInterfaceState file changes. What is the comment I have to add to ignore the frequent commit. And is there any global .gitignore content which cover all the scenarios?
Upvotes: 3
Views: 319
Reputation: 12517
To set a global gitignore file you can do this
git config --global core.excludesfile /home/user/.globalgitignore
Upvotes: 1
Reputation: 22296
You should try the github gitignore's:
https://github.com/github/gitignore
There are lot of templates for development frameworks or environments.
Upvotes: 0