# Git .ignore

**URL:** <https://forum.ionicframework.com/t/git-ignore/93836>\
**Category:** ionic-v3\
**Created:** [June 11, 2017, 8:17pm UTC](https://forum.ionicframework.com/t/git-ignore/93836 "2017-06-11T20:17:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvonz](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cvonz](https://forum.ionicframework.com/u/cvonz)\
**Post date:** [June 11, 2017, 8:17pm UTC](https://forum.ionicframework.com/t/git-ignore/93836/1 "2017-06-11T20:17:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 11, 2017, 8:36pm UTC](https://forum.ionicframework.com/t/git-ignore/93836/2 "2017-06-11T20:36:52Z")

</div>

> [@cvonz](#):
>
> and I have a dude,

Sorry what?

> [@cvonz](#):
>
> what’s the best “.ignore” file( for GIT)???

The default one plus whatever custom changes you need.

---

<div class="post-metadata">

**Author:** ![cvonz](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cvonz](https://forum.ionicframework.com/u/cvonz)\
**Post date:** [June 11, 2017, 9:03pm UTC](https://forum.ionicframework.com/t/git-ignore/93836/3 "2017-06-11T21:03:58Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 11, 2017, 9:27pm UTC](https://forum.ionicframework.com/t/git-ignore/93836/4 "2017-06-11T21:27:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cvonz](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cvonz](https://forum.ionicframework.com/u/cvonz)\
**Post date:** [June 11, 2017, 10:02pm UTC](https://forum.ionicframework.com/t/git-ignore/93836/5 "2017-06-11T22:02:25Z")

</div>

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