summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist:_do_not_import_new_files/comment_3_6f80ce6cee4519d4f69193d5086e194a._comment
blob: e66cc5ea9c62f1bc5b976cefa1d44299cf710938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.
"""]]