update tutorial to work with 6 year old version of git-annex-shell
This commit is contained in:
parent
4e5a27841a
commit
e8d31910d0
3 changed files with 26 additions and 7 deletions
|
@ -84,3 +84,4 @@ Debian GNU/Linux bullseye/sid \n \l
|
||||||
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
||||||
|
|
||||||
|
|
||||||
|
> documentation fixed [[done]] --[[Joey]]
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 9"""
|
||||||
|
date="2021-02-02T16:14:38Z"
|
||||||
|
content="""
|
||||||
|
The instructions work with the current version of git-annex
|
||||||
|
installed on the server.
|
||||||
|
|
||||||
|
It's true that the original version of the tip suggested running git-annex
|
||||||
|
init in the repo on the server. I don't remember quite why; I thought
|
||||||
|
git-annex always supported remote auto-init.
|
||||||
|
|
||||||
|
I've changed this particular tutorial to work, but do note that 6 year old
|
||||||
|
versions of git-annex will have numerous bugs that have been fixed since
|
||||||
|
then, will be missing numerous features, are significantly slower, and that
|
||||||
|
in general this website does not and will not go out of its way to keep
|
||||||
|
documentation working for them.
|
||||||
|
"""]]
|
|
@ -23,6 +23,9 @@ there. In your home directory is a simple choice:
|
||||||
|
|
||||||
server# cd
|
server# cd
|
||||||
server# git init annex.git --bare --shared
|
server# git init annex.git --bare --shared
|
||||||
|
server# cd annex.git
|
||||||
|
server# git annex init
|
||||||
|
init ok
|
||||||
|
|
||||||
That's the server setup done!
|
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.
|
warning: You appear to have cloned an empty repository.
|
||||||
Checking connectivity... done.
|
Checking connectivity... done.
|
||||||
|
|
||||||
|
Tell git-annex to use the repository:
|
||||||
Tell git-annex to use the repository, and describe where this clone is
|
|
||||||
located:
|
|
||||||
|
|
||||||
|
|
||||||
laptop# cd annex
|
laptop# cd annex
|
||||||
laptop# git annex init 'my laptop'
|
laptop# git annex init
|
||||||
init my laptop ok
|
init ok
|
||||||
|
|
||||||
## add files to the repository
|
## 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
|
So, to finish up, tell git-annex to sync all the data in the repository
|
||||||
to your server:
|
to your server:
|
||||||
|
|
||||||
# git annex sync --content
|
# git annex sync origin --content
|
||||||
...
|
...
|
||||||
|
|
||||||
## make more checkouts
|
## make more checkouts
|
||||||
|
|
Loading…
Reference in a new issue