diff options
author | http://svario.it/gioele <gioele@web> | 2014-10-25 20:34:55 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-10-25 20:34:55 +0000 |
commit | c2aef080c8af03f6db787c5cd7eac1ceadf4566d (patch) | |
tree | 7b96d94ae070db0cf311e487bd6ccf7acb4c35a6 | |
parent | c6588a0ee7d67ef0bf6138d5797030ab7aa0526d (diff) |
new forum post "Recovering deleted file in direct mode"
-rw-r--r-- | doc/forum/Recovering_deleted_file_in_direct_mode.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/Recovering_deleted_file_in_direct_mode.mdwn b/doc/forum/Recovering_deleted_file_in_direct_mode.mdwn new file mode 100644 index 000000000..9dc1bdaf1 --- /dev/null +++ b/doc/forum/Recovering_deleted_file_in_direct_mode.mdwn @@ -0,0 +1,13 @@ +I accidentally deleted a file from a git-annex repository with a plain "rm". How can I restore it from other repositories that have it? + +I tried using + + git annex copy --from $REMOTE $REMOVED_FILE + +but git-annex complaints about + + $REMOVED_FILE not found + +I suppose that I could switch to indirect mode and do checkout and older version, but I'd prefer not to. My repository contains thousands of quite big files; it would take a lot of time and the probability of something going wrong during the conversion is quite high (see other bugs reported during import). + +I'm using git-annex 5.20141024-g613f396. |