summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_sync_deleted_a_bunch_of_files___40__not_expected__41__/comment_3_a234e4f58d2cc3b0110e4e65aceeb2c3._comment
blob: edf2b26a8b14d49d4d79dccf3b24862319443f2a (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="https://www.google.com/accounts/o8/id?id=AItOawno-jcsScu4CK6k2QLZqxMros1PQHf1NQY"
 nickname="Hugo"
 subject="comment 3"
 date="2014-03-13T14:36:20Z"
 content="""
> My conclusion is that some repository, perhaps the usb drive, made a commit that deleted those files. You should be able to find this commit with git log --stat, and can just git revert it if you want to.

It would be surprising if I did that.

Anyway, I was not able to find which commit deleted the ~600 files. I just decided to re-start completely with git annex :-/

The good thing is that I did not lose any file, so in that regard git annex is great ;^)

However, one thing that is quite confusing to me is the way git annex [sync] works.  Am I supposed to run git annex sync in every repository? Because if I just run it once in 1 repo, then I usually don't get all the syncing done. Maybe I just don't understand something.

Thanks for replying,

[sync]: http://git-annex.branchable.com/sync/
"""]]