summaryrefslogtreecommitdiff
path: root/doc/walkthrough/adding_files.mdwn
blob: b014c3ee707190c79633ed5a0be86a025538197b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	# cd ~/annex
	# cp /tmp/big_file .
	# cp /tmp/debian.iso .
	# git annex add .
	add big_file (checksum...) ok
	add debian.iso (checksum...) ok
	# git commit -a -m added

When you add a file to the annex and commit it, only a symlink to
the content is committed to git. The content itself is stored in
git-annex's backend, `.git/annex/` (or in [[direct_mode]] the file
is left as-is).