DOKK / manpages / debian 10 / git-annex / git-annex-upgrade.1.en
git-annex-upgrade(1) General Commands Manual git-annex-upgrade(1)

git-annex-upgrade - upgrade repository layout

git annex upgrade

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.

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/>

Joey Hess <id@joeyh.name>