aboutsummaryrefslogtreecommitdiff
path: root/doc/walkthrough/getting_file_content.mdwn
blob: f41e17770ad953b1d6c5265008635399b7c64ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
A repository does not always have all annexed file contents available.
When you need the content of a file, you can use "git annex get" to
make it available.

We can use this to copy everything in the laptop's annex to the
USB drive.

	# cd /media/usb/annex
	# git fetch laptop; git merge laptop/master
	# git annex get .
	get my_cool_big_file (from laptop...) ok
	get iso/debian.iso (from laptop...) ok