adjust for earlier change that made sync be introduced earlier

This commit is contained in:
Joey Hess 2013-09-07 19:18:16 -04:00
parent e5cea423a9
commit c1cdfabcbb

View file

@ -1,11 +1,9 @@
Notice that in the [[previous example|getting_file_content]], you had to Notice that in the [[previous example|getting_file_content]], `git annex
git fetch and merge from laptop first. This lets git-annex know what has sync` was used. This lets git-annex know what has changed in the other
changed in laptop, and so it knows about the files present there and can repositories like the laptop, and so it knows about the files present there and can
get them. get them.
If you have a lot of repositories to keep in sync, manually fetching and Let's look at what the sync command does in more detail:
merging from them can become tedious. To automate it there is a handy
sync command, which also even commits your changes for you.
# cd /media/usb/annex # cd /media/usb/annex
# git annex sync # git annex sync