git-annex/doc/bugs/Recover_files_deleted_by_git-annex.mdwn

28 lines
1 KiB
Text
Raw Normal View History

2018-12-20 22:57:54 +00:00
### Please describe the problem.
Git annex sometimes back-propagates the changes from a copy of the repo where files are missing to the one where I just added them and (I hope only seemingly!!!) very quietly deletes my files.
I don't care about solving whatever bug this is or isn't, this question is about getting my data back.
I can use `git log` to see the commits but I can't reset to or checkout any one of them.
### What steps will reproduce the problem?
[repo0] git annex add XYZ
[repo0] git annex sync
[repo1] git annex sync
[repo0] git annex sync
[repo0] git reset --hard f67fae3166de7eca5ed8421ea4546aa32b84a964
fatal: this operation must be run in a work tree
### What version of git-annex are you using? On what operating system?
6.20170818
2018-12-30 22:12:55 +00:00
2018-12-20 22:57:54 +00:00
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes, I did, it works great whenever I barely use, as soon as more data comes in it messes up and data goes missing.
2018-12-30 22:13:27 +00:00
[[done]] —resolved by poster