2019-03-27 15:15:03 +00:00
|
|
|
$ cd ~/annex
|
|
|
|
$ cp /tmp/big_file .
|
|
|
|
$ cp /tmp/debian.iso .
|
|
|
|
$ git annex add .
|
2011-11-04 19:21:45 +00:00
|
|
|
add big_file (checksum...) ok
|
|
|
|
add debian.iso (checksum...) ok
|
2019-03-27 15:15:03 +00:00
|
|
|
$ git commit -a -m added
|
2011-02-27 16:45:48 +00:00
|
|
|
|
|
|
|
When you add a file to the annex and commit it, only a symlink to
|
2014-02-10 15:59:23 +00:00
|
|
|
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).
|