Skip to content

Instantly share code, notes, and snippets.

@prestarocket
Last active June 7, 2021 08:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save prestarocket/6190909883e084e77e32 to your computer and use it in GitHub Desktop.
Save prestarocket/6190909883e084e77e32 to your computer and use it in GitHub Desktop.
Prestashop 1.6 gitignore
.buildpath
.project
.settings
.idea
.svn
.DS_Store
.sass-cache
config.codekit
*.sublime-project
*.sublime-workspace
/.htaccess
# Directories content
cache/class_index.php
cache/smarty/cache/*
!cache/smarty/cache/index.php
cache/smarty/compile/*
!cache/smarty/compile/index.php
cache/tcpdf/*
!cache/tcpdf/index.php
config/xml/*.xml
config/settings.inc.php
log/*.log
img/*
!img/index.php
!img/*/index.php
tools/smarty*/cache/*.php
!tools/smarty*/cache/index.php
tools/smarty*/compile/*.php
!tools/smarty*/compile/index.php
themes/*/cache/*.js
themes/*/cache/*.css
modules/*/config*.xml
# Ignore files on root directory
robots.txt
sitemap.xml
@palominoz
Copy link

Hello, thanks for sharing. What's the reason behind img/*? How should be that folder managed?

@nicolasverlhiac
Copy link

Hi Andrea,
The images in this folder doesn't matter about your versioning.
This folder deal with images for CMS pages, blog articles, products, category img, ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment