diff options
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/recover_data_from_lost+found.mdwn | 4 | ||||
-rw-r--r-- | doc/tips/using_box.com_as_a_special_remote.mdwn | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/tips/recover_data_from_lost+found.mdwn b/doc/tips/recover_data_from_lost+found.mdwn index 48ef2a1d7..ceb43e3f3 100644 --- a/doc/tips/recover_data_from_lost+found.mdwn +++ b/doc/tips/recover_data_from_lost+found.mdwn @@ -8,8 +8,8 @@ First, check out the git repository again. Then, in the new checkout: $ sudo chown you:you recovered-content $ chmod -R u+w recovered-content $ git annex add recovered-content - $ git rm recovered-content - $ git commit -m "recovered some content" + $ git reset HEAD recovered-content + $ rm -rf recovered-content $ git annex fsck The way that works is that when git-annex adds the same content that was in diff --git a/doc/tips/using_box.com_as_a_special_remote.mdwn b/doc/tips/using_box.com_as_a_special_remote.mdwn index 254d0a554..0e08285e9 100644 --- a/doc/tips/using_box.com_as_a_special_remote.mdwn +++ b/doc/tips/using_box.com_as_a_special_remote.mdwn @@ -5,7 +5,7 @@ for providing 50 gb of free storage if you sign up with its Android client. git-annex can use Box as a [[special remote|special_remotes]]. Recent versions of git-annex make this very easy to set up: - WEBDAV_USERNAME=you@example.com WEBDAV_PASSWORD=xxxxxxx git annex initremote box.com type=webdav url=https://www.box.com/dav/git-annex chunksize=75mb encryption=shared + WEBDAV_USERNAME=you@example.com WEBDAV_PASSWORD=xxxxxxx git annex initremote box.com type=webdav url=https://dav.box.com/dav/git-annex chunksize=75mb encryption=shared Note the use of chunksize; Box has a 100 mb maximum file size, and this breaks up large files into chunks before that limit is reached. |