I am not entirely sure what this feature is called, so I am just going to describe it, and perhaps someone can tell me how to do this.
I have a git repo called mySettings
where I store my settings for various editors like Sublime.
Currently I am manually copying files between my local system and that repo, and then pushing them to the repo.
What I would ideally want is some sort of link between my local files and the repo so that every time I run say git add . --all && git commit -m 'updated local files' && git push
it automagically pulls in all my local files that I have linked to that repo.
An example:
Say on my local system I have ~/FancyEditor/User/superbSettings
and I have my fancy repo ~/mySettings/
then if I were to run the above git add . --all && git commit -m 'updated local files' && git push
inside ~/mySettings
it then has some form of link to ~/FancyEditor/User/superbSettings
thus relieving me of having to copy it to that repo every time I want to back it up.