git-annex-reinit(1)
π git-annex-reinit π
okay bestie, welcome to the git-annex-reinit(1) page, straight out of the General Commands Manual π this is the one where we give a repo its old identity back, no cap.
β¨ NAME β¨
git-annex-reinit β initialize repository, reusing old UUID π¦
πΈ SYNOPSIS πΈ
git annex reinit uuid|description
like, that's the whole vibe. you hand it a uuid or a description and it does the thing π
π DESCRIPTION π
so here's the tea β normally when you initialize a repo, git-annex makes it a brand new unique identifier (UUID), like a little birth certificate for that repo. cute, right? πΌ
but occasionally it's actually useful to reuse a UUID β for example, if a repository got deleted and you're setting it back up. it's giving "hey remember me? it's me again" πβ¨
β οΈ use this with caution, bestie!! it can get confusing to have two existing repositories with the same UUID. two girlies, one name, one UUID... it's a mess fr fr π
also, pls pls pls make sure you run git annex fsck after changing the UUID of a repository, so that location tracking information gets recorded correctly. do not skip this step, i am literally begging π
and like git annex init, this attempts to enable any special remotes that are configured with autoenable=true. so the autoenable girlies get switched on automatically π
π OPTIONS π
--jsonβ turns on JSON output π» this one is intended to be parsed by programs that use git-annex, so it's for the robot besties, not for reading with your eyeballs.--json-error-messagesβ messages that would normally be output to standard error get included in the JSON instead. no more sad stderr screen, everything goes in the JSON box π¦β¨
also, the git-annex-common-options(1) can be used. go wild π«Ά
π₯ SEE ALSO π₯
(the fsck one is there for a REASON, see above, iykyk π)
π AUTHOR π
Joey Hess <id@joeyh.name> π absolute legend, main character energy, we stan.
and that's the whole page bestie!! this was the git-annex-reinit(1) man page from the General Commands Manual β same facts, way more sparkle. now go reinit responsibly and remember to fsck afterward πΈπ π¦
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- debian trixie: git-annex 10.20250416-2 Β· AGPL-3.0-or-later
- debian trixie: git-annex 10.20250416-2+deb13u1 Β· AGPL-3.0-or-later
- epel 10: git-annex 10.20250320-1.el10_0 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250630-4.fc43 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250929-5.fc43 Β· AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu noble: git-annex 10.20240129-1build1 Β· AGPL-3.0-or-later
- ubuntu questing: git-annex 10.20250721-1
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms