-
Notifications
You must be signed in to change notification settings - Fork 157
Description
Firstly, I would like to apologise if this is a duplicate or if there is a way to solve this problem that I am not aware of.
Git submodules allow you to share folders between repositories. However, I would like to have a way to share files between repos that are in the root. An example would be having a .pre-commit-config.yaml template. When I add a new hook or update a version, I need to do it in all my repositories that use that template. I would have a submodule with this config, but the file must be in the root. This problem also exists for other types of configuration files used across machines.
There are other solutions to this, but I would appreciate it if there were a way to do it within git.
Many thanks for your hard work maintaining an awesome tool!