0
我在启动项目时使用了我的Wordpress入门工具包的所有插件和主题的Git回购。使用.gitignore只包含特定的目录及其子目录
目前我必须手动删除所有我不想要的文件,我想用.gitignore自动执行此操作。
什么需要包括:
/wp-content/themes/ and all the subdirectories in here /wp-content/plugins/ and all the subdirectories in here
我的问题是:我怎么能做到这一点对一个完整的WordPress使用的.gitignore安装?
我在Stackoverflow上发现了类似的问题,但是我没有找到任何包含所有子目录的答案。
在此先感谢!
这仍然是一个问题? – justkidding96