忽略prestashop的缓存(git)

时间:2014-10-31 10:58:21

标签: git prestashop

我目前正在为prestashop主题工作并生成大量缓存。 我的存储库看起来像这样:

/font
/psd (design)
/PRESTA 
 /goride (prestashop directory)
  /cache
  /config
  /mails
  /... (other prestashop folders and files)

我已添加到/ PRESTA / goride以下.gtignore从gtignore.io生成:

# 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/default/cache/*.js
themes/default/cache/*.css

# Ignore files on root directory
robots.txt
sitemap.xml

但是git仍然跟踪缓存文件的变化。 我怎样才能解决这个问题?

0 个答案:

没有答案