I'm using multiple C++ github repositories, they all share (as a company standard) the same .clang-format file. We decided to put this file in a separate repository in order to be able to track changes. I'm looking for a way to publish modifications in this file to all relevant repositories. Doing that manually is not and option because I have many repositories.
- I thought to have this repository as a git submodule but in this solution I can't clone the submodule in the root of the repo.
- Thought to clone it into a directory and have a symbolic link to the submodule, but can I have symbolic links in Windows ? the repos are shared between Windows and Linux and Mac
- Have all the repos as a submodules of the clang-format repository and have a script which update all the submodules and create a pull-request automatically.
- Same as 3 but without the submodules, clone each repo and copy the new file Do you have any other better option ?