• Home

A .gitignore for your Ionic project

As I am starting to have a good set of Ionic snippets (need to publish some on www.ionic-fr.org #teasing) I'm starting to look for the perfect .gitignore to remove useless files (think of the big and small files generated during compilation times but also of plugins that needs to be added regarding your platform). So I came across a few posts on stackoverflow or on github and here is my set up.

Basic .gitignore in the root directory :

*.keystore
*.sw*
platforms/
plugins/

Maybe add those is a good idea to add those generic exclusion in the rootdir .gitignore :

app/bower_components/
node_modules/
.tmp/ .DS_Store
*.log

Tags: ionicframework, git

Print Email