20741b1eb4
* Automatically convert direct mode repositories to v7 with adjusted unlocked branches and set annex.thin. * init: When run on a crippled filesystem with --version=5, will error out, since version 7 is needed for adjusted unlocked branch. * direct: This command always errors out as direct mode is no longer supported. * indirect: This command has become a deprecated noop. * proxy: This command is deprecated because it was only needed in direct mode. (But it continues to work.) Also removed mentions of direct mode throughough the documentation. I have not removed all the direct mode code yet.
11 lines
323 B
Markdown
11 lines
323 B
Markdown
$ 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/objects/`
|