Here is situation:
# Want this folder to be "umbrella" in order not to spawn
# a lot of github repos later on (you can consider it
# dotfiles-like repository with a lot of remotely pulled
# projects where each should be occasionally updated
# and "custom" patches applied)
mytoolbox/
.git/
proj1/
.git/
..
proj2/
.git/
..
proj3/
.git/
..
file1
file2
..
After some googling I stambled upon git submodule
and subtrees
. The first one seems like just keep tracking the last commit and reference to the remote (list of links without actual content under .gitmodules
). And - after several attempts - I didn't get the idea of the second one if it fits my purposes. May be someone can suggest a better solution in general.
Frankly speaking, a while ago I used Dropbox for this purpose :)