aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-upgrade.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-24 15:23:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-24 15:23:59 -0400
commit5c8727dea29d5266de481475495eb979038bfa5a (patch)
tree2362c6ba5cd464d1e44f6a08ef4d7d034b594c75 /doc/git-annex-upgrade.mdwn
parentd17d5a77893ac01fc7c29f92447a3e85e3501d9f (diff)
separated man pages for all the maintenance commands
Diffstat (limited to 'doc/git-annex-upgrade.mdwn')
-rw-r--r--doc/git-annex-upgrade.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/git-annex-upgrade.mdwn b/doc/git-annex-upgrade.mdwn
new file mode 100644
index 000000000..0922ad87f
--- /dev/null
+++ b/doc/git-annex-upgrade.mdwn
@@ -0,0 +1,32 @@
+# NAME
+
+git-annex upgrade - upgrade repository layout
+
+# SYNOPSIS
+
+git annex upgrade
+
+# DESCRIPTION
+
+Upgrades the repository to current layout.
+
+Each git-annex repository has an annex.version in its git configuration,
+that indicates the repository version. If git-annex changes to a new
+layout, you must upgrade the repository before git-annex can be used in it.
+
+To see version information, run `git annex version`.
+
+Currently, git-annex supports upgrades all the way back to version 0, which
+was only used by its author. It's expected that git-annex will always
+support upgrading from all past repository versions -- this is necessary to
+allow archives to be taken offline for years and later used.
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.