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
?
Adding symlinked directories worked until git 1.6.1. Now you have other options.
~/b/content/data/
a symlink.sudo mount --bind SOURCEDIRECTORY TARGETDIRECTORY
instead of a link.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With