1git-annex-upgrade(1) General Commands Manual git-annex-upgrade(1)
2
3
4
6 git-annex-upgrade - upgrade repository
7
9 git annex upgrade
10
12 Upgrades the repository to the latest version.
13
14 Each git-annex repository has an annex.version in its git configura‐
15 tion, that indicates the repository version. When an old repository
16 version becomes deprecated, git-annex will automatically upgrade it
17 (unless annex.autoupgraderepository is set to false). To manually up‐
18 grade, you can use this command.
19
20 Sometimes there's a newer repository version that is not the default
21 yet, and then you can use this command to upgrade to it.
22
23 Currently, git-annex supports upgrades all the way back to version 0,
24 which was only used by its author. It's expected that git-annex will
25 always support upgrading from all past repository versions -- this is
26 necessary to allow archives to be taken offline for years and later
27 used.
28
30 --autoonly
31
32 Only do whatever automatic upgrade can be done, don't necessar‐
33 ily upgrade to the latest version. This is used internally by
34 git-annex.
35
36 --json Enable JSON output. This is intended to be parsed by programs
37 that use git-annex.
38
39 --json-error-messages
40 Messages that would normally be output to standard error are in‐
41 cluded in the JSON instead.
42
43 Also the git-annex-common-options(1) can be used.
44
46 git-annex(1)
47
48 git-annex-migrate(1)
49
50 Upgrades procedures and history: <http://git-annex.branchable.com/up‐
51 grades>
52
53 News and release notes: <http://git-annex.branchable.com/news/>
54
56 Joey Hess <id@joeyh.name>
57
58 git-annex-upgrade(1)