Magento Gitignore

With the htdocs as rootdirectory.

# magento gitignore from htdocs
#
# https://gist.github.com/Rud5G/4148997
htdocs/app/etc/local.xml
htdocs/media/*
!htdocs/media/.htaccess
htdocs/var/*
!htdocs/var/.htaccess
htdocs/sitemap
htdocs/staging
# Editor
.buildpath
.cache
.metadata
.project
.settings
.idea/
nbproject
# composer
bin/*
!bin/.gitkeep
vendor/*
!vendor/.gitkeep
/*.phar

view raw
.gitignore
hosted with ❤ by GitHub