diff options
-rw-r--r-- | doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment | 20 |
1 files changed, 20 insertions, 0 deletions
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 000000000..e66cc5ea9 --- /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. +"""]] |