1. Linux

1.1. Installation

sudo apt-get install git-annex

1.2. Creating a repository

mkdir ~/annex
cd ~/annex
git init
git annex init "my laptop"

1.3. Adding files

Enter the following commands at a Command Line.

cd ~/annex
# cp /tmp/big_file .
# cp /tmp/debian.iso .
cp /boot/vmlinuz-3.2.0-4-486-pae .
git annex add .
add big_file (checksum...) ok
add debian.iso (checksum...) ok
git commit -a -m added

Enter the following commands at a Command Line.

git clone ssh://mylaptop/home/me/annex ~/annex
git clone ssh://192.168.1.42/home/delta/annex ~/annex
cd ~/annex
git annex init "my desktop"

Enter the following commands at a Command Line.

git annex sync 192.168.1.42
git annex get .

Enter the following commands at a Command Line.

sudo mount /media/usb
cd /media/usb
git clone ~/annex
cd annex
git annex init "portable USB drive"
git remote add laptop ~/annex
cd ~/annex
git remote add usbdrive /media/usb/annex