I have a git repository sitting as ~/a.
At the same time, I have some stuff from ~/b/content/data/, which will be updated by another application.
For backup purposes, I would like to add ~/b/content/data/'s stuff into git ~/a, without moving the folder. And also, of course, without manual copy.
Can I do that? Is it via ln?
If you link
~/b/content/datato~/a/b, git will only store a reference to the pathname, not the actual contents. On the other hand, if you move~/b/content/datato~/a/band link it back to~/b/content/data, git will commit the files.