git-annex-upgrade(1)

πŸ“¦
version 10.20261026 Β· 3 versions
, in alpine 3.24, arch rolling, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ git-annex-upgrade ✨

okay bestie, so this is the git-annex-upgrade manual page, and we're about to make your repo glow up πŸ’…


🌸 NAME 🌸

git-annex-upgrade β€” upgrade repository

πŸ¦‹ SYNOPSIS πŸ¦‹

git annex upgrade

πŸ’– DESCRIPTION πŸ’–

So like, this command upgrades your repository to the latest version. Periodt.

Every single git-annex repository has an annex.version chillin' in its git configuration, and that's the thing that tells you what version the repo is. When an old repo version gets deprecated (rip bozo), git-annex will automatically upgrade it for you β€” unless annex.autoupgraderepository is set to false, in which case it minds its own business. But if you wanna do it manually, bestie, this command is right there for you 🫢

Sometimes there's a newer repository version that isn't the default yet, and in that case you can use this command to upgrade to it. slay ✨

Currently, git-annex supports upgrades all the way back to version 0, which was only used by its author (a true icon tbh πŸ‘‘). And it's expected that git-annex will always support upgrading from all past repository versions β€” that's necessary so you can take archives offline for years and then come back and use them later. no cap, that's the whole point πŸ—„οΈπŸ’«

πŸŽ€ OPTIONS πŸŽ€

  • --autoonly β€” only do whatever the automatic upgrade can do, and don't necessarily upgrade to the latest version. This one is used internally by git-annex, so it's giving very much backstage pass energy πŸ™ˆ
  • --json β€” enable JSON output. This is intended to be parsed by programs that use git-annex, so if that's your vibe, here you go πŸ“¦βœ¨
  • --json-error-messages β€” messages that would normally be output to standard error get included in the JSON instead. lowkey handy fr fr

Also the git-annex-common-options(1) can be used. don't forget her πŸ’œ

🌈 SEE ALSO 🌈

πŸ’œ AUTHOR πŸ’œ

Joey Hess <id@joeyh.name> β€” actual legend, main character energy, we stan πŸ«ΆπŸ‘‘


and that's the whole git-annex-upgrade(1) manual page, bestie β€” same facts, immaculate vibes, no notes πŸ’…βœ¨ bye love u πŸŽ€πŸ¦‹