2015-03-24 19:23:59 +00:00
|
|
|
# NAME
|
|
|
|
|
2019-09-01 17:29:55 +00:00
|
|
|
git-annex upgrade - upgrade repository
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex upgrade
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2020-03-09 20:47:57 +00:00
|
|
|
Upgrades the repository to the latest version.
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
Each git-annex repository has an annex.version in its git configuration,
|
2019-09-01 17:29:55 +00:00
|
|
|
that indicates the repository version. When an old repository version
|
|
|
|
becomes deprecated, git-annex will automatically upgrade it
|
|
|
|
(unless annex.autoupgraderepository is set to false). To manually upgrade,
|
|
|
|
you can use this command.
|
2015-03-24 19:23:59 +00:00
|
|
|
|
2019-09-01 17:29:55 +00:00
|
|
|
Sometimes there's a newer repository version that is not the default yet,
|
|
|
|
and then you can use this command to upgrade to it.
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2020-03-09 20:47:57 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* --autoonly
|
|
|
|
|
|
|
|
Only do whatever automatic upgrade can be done, don't necessarily
|
|
|
|
upgrade to the latest version. This is used internally by git-annex.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2015-03-24 19:23:59 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-migrate]](1)
|
|
|
|
|
2015-06-03 14:30:03 +00:00
|
|
|
Upgrades procedures and history: <http://git-annex.branchable.com/upgrades>
|
|
|
|
|
|
|
|
News and release notes: <http://git-annex.branchable.com/news/>
|
|
|
|
|
2015-03-24 19:23:59 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|