Reputation: 182
I have a comparably big project which I am working alone for most of the time. Recently i added some html-templates that can be edited by colleagues without my attention to it. But the point is - they just dont need to pull whole project for that purpose, the just need one directory (web/themes/templates/
for example). Any way to pull and push specific directory?
Thanks!
Upvotes: 0
Views: 43
Reputation: 107
If you really want the separation you should setup a git submodule. Using submodules is a repo-in-repo approach to handling modular projects; in your case it seems wasteful (not worth it) to do this for a few templates.
Docu: https://git-scm.com/book/en/v2/Git-Tools-Submodules
Upvotes: 1