git-annex use a file from a different location
My understanding is that when I perform
git annex add somefile, it creates a symlink for that file and places it in the
.git/annex/objects folder. Then, when I initialize
git-annex in some different location and sync it with the previous one, it downloads a broken symlink, unless I do
git annex sync --content, which makes a full copy of the file.
I need to have large files in one location, lets say on a USB Drive, and multiple git repositories that use the large files. So I want to have just the symlinks to the large files in those git repos. How to perform the
git-annex downloads a valid symlink that points to a file in a single location ?