.gitignore for Sencha projects
This blog post was published more than one year ago and might be outdated!
· One min read
Long ago I started to globally .gitignore all the things. Recently I ran into a few issues with setting up Sencha projects via SenchaCmd. In my global .gitignore file I have a setting to ignore the vendor folder which perfectly makes sense in a Composer setup. As a side-effect this means that in a Sencha project the folder resources/themes/vendor/ will not be added to the repo. The work-a-round to avoid this is easy and simple. Add the following line to your global .gitignore file:
!resources/themes/vendor/
This will make sure that the folder resources/themes/vendor/ is added again to the repo.