Git .ignore

Hi guys, I use ionic and I have a doubt, what’s the best “.ignore” file( for GIT)???

Info version:

Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v4.2.6
Xcode version: Not installed

Sorry what?

The default one plus whatever custom changes you need.

Thanks Sujan, sorry but my english is not good, I meant ‘doubt’.

I ask this because i have de “www” and “hooks” folder in the .ignore file, but, i put some image in www/assets folder, when i commit changes the images is not included…

put them in /src/assets, this will be copied over to /www/assets on build. Never do anything in /www directly.

1 Like

Thanks @Sujan12 !!!.. i place the images to the new path, build and emulate great, thanks!

1 Like