forum/store annex in different place on hard drivegit-annexhttp://git-annex.branchable.com/forum/store_annex_in_different_place_on_hard_drive/git-annexikiwiki2015-10-06T20:33:55Zcomment 1http://git-annex.branchable.com/forum/store_annex_in_different_place_on_hard_drive/comment_1_a95add69028ad71f3c66b544c1a28db6/joey2015-10-06T20:33:55Z2015-10-06T20:17:07Z
<p>You should avoid making two repositories that share the same .git/annex
or .git/annex/objects directories. Doing that can get git-annex confused,
and let it drop a file that is only located in one place .. because it sees
it existing in 2 places due to the symlink!</p>
<p>IIRC, git-annex supports making .git/annex a symlink to some directory
elsewhere, that is not itself used by another git repository.</p>
<p>Or, you can use standard <code>GIT_DIR</code> settings to make git
(and git-annex) look for the .git directory elsewhere.</p>