我的Wordpress网站受Git的版本控制,包括wp-content/plugins/文件夹。现在有一个插件(wp-editormd),它带有自己的Git存储库wp-content/plugins/wp-editormd/vendor/jaxsonwang/wp-settings-api-class/(内部带有.git/)。 Git将其视为子模块,这是不希望的。我担心忽略Git会破坏插件或插件的更新机制。如何告诉Git应该将目录视为普通目录?
wp-content/plugins/
wp-content/plugins/wp-editormd/vendor/jaxsonwang/wp-settings-api-class/
.git/
我担心这可能会破坏某些东西