From 65ea8409ec73cdb8685072243b1a1a6a78c7895a Mon Sep 17 00:00:00 2001 From: "http://svario.it/gioele" Date: Tue, 15 Jul 2014 06:54:40 +0000 Subject: [PATCH] Added a comment --- ..._6f80ce6cee4519d4f69193d5086e194a._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment diff --git a/doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment b/doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment new file mode 100644 index 0000000000..e66cc5ea9c --- /dev/null +++ b/doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="http://svario.it/gioele" + nickname="gioele" + subject="comment 3" + date="2014-07-15T06:54:40Z" + content=""" +> You can use --clean-duplicates unless your goal is for some reason to add the duplicate files to your repository a second time. + +My use case is that I clone an existing remote on a PC where there are already some of the annexed files (+ others). + +My workflow would be: + +* clone git-annex server:~/Documents.git +* git annex init \"other pc\" +* git annex import --skip-new (or --only-duplicates) ~/Dump/* + +~/Dump contains many other files in addition to those found in the Documents repository. + +In this case --clean-duplicate would not be the correct solution. +"""]]