summaryrefslogtreecommitdiff
path: root/doc/walkthrough/getting_file_content.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-27 12:45:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-27 12:45:48 -0400
commit98e246b49b3c4fed319fe7bc1e900ba20ebfc9e1 (patch)
treead49ec6baf1b57f3acc8b694bdfc1bbd0986021f /doc/walkthrough/getting_file_content.mdwn
parent9e49a71282def0b6d6f7507d59eb0f805c6e0073 (diff)
split the walkthrough and inline back together
Diffstat (limited to 'doc/walkthrough/getting_file_content.mdwn')
-rw-r--r--doc/walkthrough/getting_file_content.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/walkthrough/getting_file_content.mdwn b/doc/walkthrough/getting_file_content.mdwn
new file mode 100644
index 000000000..a863303ce
--- /dev/null
+++ b/doc/walkthrough/getting_file_content.mdwn
@@ -0,0 +1,16 @@
+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 pull laptop master
+ # git annex get .
+ get my_cool_big_file (copying from laptop...) ok
+ get iso/debian.iso (copying from laptop...) ok
+
+Notice that you had to git pull from laptop first, this lets git-annex know
+what has changed in laptop, and so it knows about the files present there and
+can get them.