tweak
This commit is contained in:
parent
c7c0a229c8
commit
59923c6cf7
1 changed files with 8 additions and 6 deletions
|
@ -3,12 +3,14 @@ It's actually very easy to recover from this disaster.
|
||||||
|
|
||||||
First, check out the git repository again. Then, in the new checkout:
|
First, check out the git repository again. Then, in the new checkout:
|
||||||
|
|
||||||
mkdir recovered-content
|
$ mkdir recovered-content
|
||||||
sudo mv ../lost+found/* recovered-content
|
$ sudo mv ../lost+found/* recovered-content
|
||||||
git annex add recovered-content
|
$ sudo chown you:you recovered-content
|
||||||
git rm recovered-content
|
$ chmod -R u+w recovered-content
|
||||||
git commit -m "recovered some content"
|
$ git annex add recovered-content
|
||||||
git annex fsck
|
$ git rm recovered-content
|
||||||
|
$ git commit -m "recovered some content"
|
||||||
|
$ git annex fsck
|
||||||
|
|
||||||
The way that works is that when git-annex adds the same content that was in
|
The way that works is that when git-annex adds the same content that was in
|
||||||
the repository before, all the old links to that content start working
|
the repository before, all the old links to that content start working
|
||||||
|
|
Loading…
Add table
Reference in a new issue