From b60d61e5610a8fc4b5713f0dc752845cb1e93f6f Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmK0703vNSIQsP1mGf-4MAPnsBZiSc6yVo" Date: Sun, 21 Sep 2014 13:12:13 +0000 Subject: [PATCH] --- ...ore_file_from_Full_Backup_Repository__63__.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/Direct_Mode_-_Restore_file_from_Full_Backup_Repository__63__.mdwn diff --git a/doc/forum/Direct_Mode_-_Restore_file_from_Full_Backup_Repository__63__.mdwn b/doc/forum/Direct_Mode_-_Restore_file_from_Full_Backup_Repository__63__.mdwn new file mode 100644 index 0000000000..47c327f1be --- /dev/null +++ b/doc/forum/Direct_Mode_-_Restore_file_from_Full_Backup_Repository__63__.mdwn @@ -0,0 +1,14 @@ +Hi, I'm using the webapp and created a repository on my local computer. Then I created another remote repository (encrypted remote with gcrypt), this remote repository is selected as type "full backup". + +I've added some files to the local repository, then changed some of them and watched the sync happen. Then I deleted some files, and these also get synced to the remote. + +Now, how can I recover those files from the foreign repo, using the webapp or the command line? I could not find any solution. + +I tried: +git log --diff-filter=D --summary +and then +git checkout 488408bfcd58eced685d9e3ca5daf55250850f5d -- . +to recover the file listed in this remote but got the following response: +fatal: This operation must be run in a work tree + +What do I miss and how does the "Restore" part work when using "full backup" remote repository?