aboutsummaryrefslogtreecommitdiff
path: root/doc/upgrades.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-23 14:49:21 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-23 14:51:04 -0400
commit068703c40565cf8312c103b40d8c992b9d20a113 (patch)
treedec134b855a0d8eb818d948789f72a2087d31f5c /doc/upgrades.mdwn
parent7ee636f6ddca4b872dde36383077875563b0b369 (diff)
improve post-upgrade push instructions
Diffstat (limited to 'doc/upgrades.mdwn')
-rw-r--r--doc/upgrades.mdwn12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/upgrades.mdwn b/doc/upgrades.mdwn
index 1813d079a..f83a8c947 100644
--- a/doc/upgrades.mdwn
+++ b/doc/upgrades.mdwn
@@ -27,13 +27,15 @@ Involved moving the .git-annex/ directory into a separate git-annex branch.
This upgrade is easier (and faster!) than the previous upgrades.
You don't need to upgrade every repository at once; it's sufficient
to upgrade each repository only when you next use it.
-
-After the upgrade is complete, commit the changes it staged.
- git commit -m "upgrade v2 to v3"
+Example upgrade process:
-Running `git gc` after this upgrade will likely free up significant disk
-space. (Tens to hundreds of megabytes.)
+ cd localrepo
+ git pull
+ git annex upgrade
+ git commit -m "upgrade v2 to v3"
+ git push origin git-annex master
+ git gc
### v1 -> v2 (git-annex version 0.20110316)