diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-03-07 15:13:01 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-03-07 15:13:01 -0400 |
commit | 035098b699466534869fdd6810da8c5587ef553b (patch) | |
tree | 9194cc2c4d231f048f162b3df2ca81d0a79f88fc /doc | |
parent | d4b9582dc273d1cabdeabfa9b6fc9aab231febcb (diff) |
response
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/How_to_shrink_transfer_repo__63__/comment_2_8e596cd606935d82bd6604f5c9c500a2._comment | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/How_to_shrink_transfer_repo__63__/comment_2_8e596cd606935d82bd6604f5c9c500a2._comment b/doc/forum/How_to_shrink_transfer_repo__63__/comment_2_8e596cd606935d82bd6604f5c9c500a2._comment new file mode 100644 index 000000000..edccafb1e --- /dev/null +++ b/doc/forum/How_to_shrink_transfer_repo__63__/comment_2_8e596cd606935d82bd6604f5c9c500a2._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2016-03-07T17:52:21Z" + content=""" +Normally, files should be dropped from the transfer repository once they +have reached all known client repositories. The drop should be done by +the client repositories, so the transfer repo doesn't need access to the +client repos to verify that they have a copy. + +But your problem is with *unused* files that are hanging around in +the transfer repo. This can happen if a file reaches the transfer repo and +then gets deleted from a client, and so the other clients never download it. + +To clean out those files, run: `git annex dropunused --from astarte --force` + +You need to "use the force" because the unused file is only present in the +transfer repo. If you want to get rid of its content for good, that's fine. +A safer option is to move the unused file to the local repo: `git annex +move --unused --from astarte` +"""]] |