diff --git a/doc/bugs/problems_with_SSH_and_relative_paths.mdwn b/doc/bugs/problems_with_SSH_and_relative_paths.mdwn index c7922697d8..7fbd562301 100644 --- a/doc/bugs/problems_with_SSH_and_relative_paths.mdwn +++ b/doc/bugs/problems_with_SSH_and_relative_paths.mdwn @@ -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) +> documentation fixed [[done]] --[[Joey]] diff --git a/doc/bugs/problems_with_SSH_and_relative_paths/comment_9_75a1d6f1ec4adc714a8c200a168757d6._comment b/doc/bugs/problems_with_SSH_and_relative_paths/comment_9_75a1d6f1ec4adc714a8c200a168757d6._comment new file mode 100644 index 0000000000..dd1a48a53b --- /dev/null +++ b/doc/bugs/problems_with_SSH_and_relative_paths/comment_9_75a1d6f1ec4adc714a8c200a168757d6._comment @@ -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. +"""]] diff --git a/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn b/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn index 6d5d1cd02c..049e523ee8 100644 --- a/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn +++ b/doc/tips/centralized_git_repository_tutorial/on_your_own_server.mdwn @@ -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