summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rasmus <Rasmus@web>2013-04-01 09:45:50 +0000
committerGravatar admin <admin@branchable.com>2013-04-01 09:45:50 +0000
commitb3225331740a09a90d94a54fa4a578ab87be0a1c (patch)
treea35512c32fe5cc9cda11f10be719cad7e80466ad
parent1509bdda32ffadd93fddb2d755df53d71b1fe3f8 (diff)
Asked a new questioin
-rw-r--r--doc/forum/Stupid_mistake:_recoverable__63__.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/Stupid_mistake:_recoverable__63__.txt b/doc/forum/Stupid_mistake:_recoverable__63__.txt
new file mode 100644
index 000000000..6fb3374af
--- /dev/null
+++ b/doc/forum/Stupid_mistake:_recoverable__63__.txt
@@ -0,0 +1,14 @@
+Hi,
+
+I was a bit hasty the other day and did something stupid. I added a new folder to git annex. Something like
+ git annex add my-important folder
+my-important folder contains a lot of files and it took a couple of minutes to add. When I then tried to do
+ git commit -am 'added files'
+per the walkthrough I got an error (9, as I recall). I thought I'd added too many files or something so I wanted to start over and perhaps I didn't fully understand the mechanisms of annex I did the following
+ git reset --hard .
+Unfortunately, did replaced my files with a bunch of symlinks, rather than making git annex forget and go back to the previous stage as I had hoped.
+
+I have managed to recover most of my files from backup, but some of them I still can't recover. Is there any way back? It seems I still have the files in my git folder.
+
+Thanks,
+Rasmus