gpt4 book ai didi

php - 使用版本控制时在 codeigniter 应用程序中忽略哪些文件夹

转载 作者:可可西里 更新时间:2023-11-01 13:48:04 27 4
gpt4 key购买 nike

在使用 CodeIgniter 框架开发的项目上使用版本控制时,我应该忽略哪些文件夹?

我已经忽略了 application/cache 文件夹,但是还有其他文件夹吗?

最佳答案

您可以忽略任何应用程序生成的日志和任何特定于开发的配置文件。这是 CodeIgniter 常用的 .gitignore 文件:

*/config/development
*/logs/log-*.php
*/logs/!index.html
*/cache/*
*/cache/!index.html

https://github.com/github/gitignore/blob/master/CodeIgniter.gitignore

关于php - 使用版本控制时在 codeigniter 应用程序中忽略哪些文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8568408/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com