Should build folders be included in a git repo? Should build folders be included in a git repo? wordpress wordpress

Should build folders be included in a git repo?


Use a .gitignore file to do that.

create a .gitignore file and inside put the path or the files that will be ignored by git.

relative/Path/to/your/autogenerated/files/*

after you finish, commit and push your file to your remote repository

check this link