aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-upgrade.mdwn
blob: 07b319cc1168d7bb3018927087459bf91758db68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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)

[[git-annex-migrate]](1)

Upgrades procedures and history: <http://git-annex.branchable.com/upgrades>

News and release notes: <http://git-annex.branchable.com/news/>

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.