diff --git a/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment b/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment new file mode 100644 index 0000000000..5fb2eaec60 --- /dev/null +++ b/doc/forum/Sharing_annex_with_local_clones/comment_5_0bf4c0aa3258b156a3df794d5fabb6a2._comment @@ -0,0 +1,23 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 5""" + date="2014-11-06T19:50:54Z" + content=""" +Yes, there's another option since git-annex version 5.20140915. + +annex.hardlink can be set to true, and then `git annex get` will +simply hardlink the files into place. + +Note the caution about using this option: + + Use with caution -- This can invalidate numcopies counting, + since with hard links, fewer copies of a file can exist. So, it + is a good idea to mark a repository using this setting as + untrusted. + +And, there's a nice easy way to set up local clone that is configured this way: + + When a repository is set up using git clone --shared, git-annex + init will automatically set annex.hardlink and mark the reposiā€ + tory as untrusted. +"""]]