diff options
author | 2015-01-20 12:41:49 -0400 | |
---|---|---|
committer | 2015-01-20 12:41:49 -0400 | |
commit | dc5500273efc57fdb5382944417c8f028b1b86a9 (patch) | |
tree | 3140464ba2a0238aa537e13249420c60c0842ecf /doc/walkthrough/using_ssh_remotes.mdwn | |
parent | 401dfc8e9e95ff105cfda7a1d89bc5c5c0aba70c (diff) |
add new walkthrough chapter on using special remotes
Diffstat (limited to 'doc/walkthrough/using_ssh_remotes.mdwn')
-rw-r--r-- | doc/walkthrough/using_ssh_remotes.mdwn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/walkthrough/using_ssh_remotes.mdwn b/doc/walkthrough/using_ssh_remotes.mdwn index 1dc8fa55b..ee8b629fa 100644 --- a/doc/walkthrough/using_ssh_remotes.mdwn +++ b/doc/walkthrough/using_ssh_remotes.mdwn @@ -5,13 +5,13 @@ that is truly remote, a host accessed by ssh. Say you have a desktop on the same network as your laptop and want to clone the laptop's annex to it: - # git clone ssh://mylaptop/home/me/annex ~/annex - # cd ~/annex - # git annex init "my desktop" + desktop# git clone ssh://mylaptop/home/me/annex ~/annex + desktop# cd ~/annex + desktop# git annex init "my desktop" Now you can get files and they will be transferred (using `rsync` via `ssh`): - # git annex get my_cool_big_file + desktop# git annex get my_cool_big_file get my_cool_big_file (getting UUID for origin...) (from origin...) SHA256-s86050597--6ae2688bc533437766a48aa19f2c06be14d1bab9c70b468af445d4f07b65f41e 100% 2159 2.1KB/s 00:00 ok @@ -19,7 +19,7 @@ Now you can get files and they will be transferred (using `rsync` via `ssh`): When you drop files, git-annex will ssh over to the remote and make sure the file's content is still there before removing it locally: - # git annex drop my_cool_big_file + desktop# git annex drop my_cool_big_file drop my_cool_big_file (checking origin..) ok Note that normally git-annex prefers to use non-ssh remotes, like |