Ionic Clean


#1

Is there an equivalent of “mvn clean” in Ionic build?

Basically I want to know what should be committed into source code management?


#2

So for source code management, we have .gitignore setup so that it will ignore the plugins directory, the native platforms, and any node modules.

What you can after a fresh clone is run ionic state restore, which will go out and fetch the plugins you have listed in your package.json and add the platforms you were working with.

Really, you should commit everything other than node_modules, platforms/, and plugins/