Prestashop 1.6游戏化模块始终添加和编辑文件 [英] Prestashop 1.6 gamification module always adding and editing files

查看:68
本文介绍了Prestashop 1.6游戏化模块始终添加和编辑文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发自定义的Prestashop 1.6模块.我将所有网站都添加到了git中,以便跟踪我的更改.我使用 gitignore.io 创建了.gitignore文件.

I am developing a custom Prestashop 1.6 module. I added all the website to git in order to track my changes. I created the .gitignore file using gitignore.io.

问题在于,游戏化模块中总是有新添加的文件和更改过的文件.

The problem is there are always new added files and changed files in the gamification module.

我应该将游戏化模块文件夹添加到.gitignore还是有其他解决方案?

Should I add the gamification module folder to .gitignore or there is another solution?

推荐答案

这是我的.gitignore文件的内容:

# Created by .ignore support plugin (hsz.mobi)
### Prestashop template
# Private files
# The following files contain your database credentials and other personal data.

config/settings.*.php

# Cache, temp and generated files
# The following files are generated by PrestaShop.

admin2/autoupgrade/
/cache/
!/cache/index.php
!/cache/cachefs/index.php
!/cache/purifier/index.php
!/cache/push/index.php
!/cache/sandbox/index.php
!/cache/smarty/index.php
!/cache/tcpdf/index.php
config/xml/*.xml
/log/*
*sitemap.xml
themes/*/cache/
modules/*/config*.xml

# Site content
# The following folders contain product images, virtual products, CSV's, etc.

admin-dev/backups/
admin-dev/export/
admin-dev/import/
download/
/img/*
upload/

/modules/gamification/views/css/*.css
/themes/*/.sass-cache
/themes/*/.sass-cache/*.scssc
modules/homeslider/images/
!modules/homeslider/images/index.php

如您所见,我为游戏化CSS文件以及homeslider和sass缓存文件添加了排除功能.

As you can see, I have added exclusion for gamification css files plus homeslider and sass cache files.

这篇关于Prestashop 1.6游戏化模块始终添加和编辑文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆