summaryrefslogtreecommitdiff
path: root/doc/walkthrough/adding_files.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/walkthrough/adding_files.mdwn')
-rw-r--r--doc/walkthrough/adding_files.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/walkthrough/adding_files.mdwn b/doc/walkthrough/adding_files.mdwn
new file mode 100644
index 000000000..77a7fbc15
--- /dev/null
+++ b/doc/walkthrough/adding_files.mdwn
@@ -0,0 +1,11 @@
+ # cd ~/annex
+ # cp /tmp/big_file .
+ # cp /tmp/debian.iso .
+ # git annex add .
+ add big_file ok
+ add debian.iso ok
+ # git commit -a -m added
+
+When you add a file to the annex and commit it, only a symlink to
+the annexed content is committed. The content itself is stored in
+git-annex's backend.