I have a folder with word templates files which are common for several projects. If template was changed, i have to copy new file to all that projects in that directory.
Is there a way to automate the procedure?
I thought about creating a diff project "word_templates" and make changes in the project only. But how can I force another project "my_project" to update the folder with files from "word_templates" ?
I think the best way is to move templates folder to stand alone repository and use them as git submodule. In this case you'll have X projects which include 1 dependency. During the development process, you will be able to update only templates without switching branches of a separate project. Something like:
$ cd project_dir # project repository
$ cd word_templates # templates repository
$ git pull # pull latest templates