update tutorial to work with 6 year old version of git-annex-shell

This commit is contained in:
Joey Hess 2021-02-02 12:26:37 -04:00
parent 4e5a27841a
commit e8d31910d0
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 26 additions and 7 deletions

View file

@ -23,6 +23,9 @@ there. In your home directory is a simple choice:
server# cd
server# git init annex.git --bare --shared
server# cd annex.git
server# git annex init
init ok
That's the server setup done!
@ -35,14 +38,11 @@ Now on your laptop, clone the git repository from the server:
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
Tell git-annex to use the repository, and describe where this clone is
located:
Tell git-annex to use the repository:
laptop# cd annex
laptop# git annex init 'my laptop'
init my laptop ok
laptop# git annex init
init ok
## add files to the repository
@ -72,7 +72,7 @@ That push went fast, because it didn't upload large videos to the server.
So, to finish up, tell git-annex to sync all the data in the repository
to your server:
# git annex sync --content
# git annex sync origin --content
...
## make more checkouts