From 7a8627fd97087379ea903f62d4dae1161e811ef5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 7 Sep 2013 19:18:16 -0400 Subject: adjust for earlier change that made sync be introduced earlier --- doc/walkthrough/syncing.mdwn | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/walkthrough/syncing.mdwn b/doc/walkthrough/syncing.mdwn index 3c43e502c..0c8d52559 100644 --- a/doc/walkthrough/syncing.mdwn +++ b/doc/walkthrough/syncing.mdwn @@ -1,11 +1,9 @@ -Notice that in the [[previous example|getting_file_content]], you had to -git fetch and merge from laptop first. This lets git-annex know what has -changed in laptop, and so it knows about the files present there and can +Notice that in the [[previous example|getting_file_content]], `git annex +sync` was used. This lets git-annex know what has changed in the other +repositories like the laptop, and so it knows about the files present there and can get them. -If you have a lot of repositories to keep in sync, manually fetching and -merging from them can become tedious. To automate it there is a handy -sync command, which also even commits your changes for you. +Let's look at what the sync command does in more detail: # cd /media/usb/annex # git annex sync -- cgit v1.2.3