Git .ignore


#1

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


#2

Sorry what?

The default one plus whatever custom changes you need.


#3

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…


#4

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


#5

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