Version Control – git ignore vendor
-
I’m following up on two previous topics that, in my opinion, do not offer the complete information I’m after in regards to what is possible to ignore from versioning with Git:
- https://ww.wp.xz.cn/support/topic/wordfence-git-gitignore/
- https://ww.wp.xz.cn/support/topic/wordfence-git-what-to-add-to-gitignore/
Basically, I’d like to Git ignore all
/vendor/directories on my WP website; so I’m thinking of adding**/vendor/to.gitignore. I can see that currently Wordfence has some dependencies in a/wp-content/plugins/wordfence/crypto/vendor/directory. Would it be safe to ignore it?For context, I’m running my website in a Docker container and I’m also wondering if ignoring all
/vendor/would cause any issues should I rebuild the container from scratch?Thanks in advance.
——————
LE:
Circular reference Jetpack question:
Would it be safe to exclude these directories from tracking with Git:**/vendor/,**/assets/dist/,**/node_modules/?
The topic ‘Version Control – git ignore vendor’ is closed to new replies.