From 1a58a1a8505b47e6a6b120a05982a6b8e8378e7d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 2 Oct 2017 12:42:57 -0400 Subject: answer --- .../comment_2_1263830d015a458024a2346540f10f31._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_2_1263830d015a458024a2346540f10f31._comment diff --git a/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_2_1263830d015a458024a2346540f10f31._comment b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_2_1263830d015a458024a2346540f10f31._comment new file mode 100644 index 000000000..fbb87f448 --- /dev/null +++ b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem/comment_2_1263830d015a458024a2346540f10f31._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2017-10-02T16:40:44Z" + content=""" +The way to do this is to use `git clone --shared`. +Since git-annex version, 5.20140915, it detects when a new +repository has been cloned that way and enables annex.hardlink, +so files are inexpensively linked into place in the clone when getting them +from the origin on the same filesystem. +"""]] -- cgit v1.2.3