git-annex-trust(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-trust ✨

okay bestie, welcome to the General Commands Manual section for git-annex-trust β€” yes that's the whole manual name, we're fancy here πŸ’…


🌸 NAME 🌸

git-annex-trust β€” trust a repository 🫢


πŸŽ€ SYNOPSIS πŸŽ€

git annex trust [repository ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is: it records that a repository is trusted to not unexpectedly lose content. That's it. That's the whole vibe.

⚠️ Use with care. Like, fr fr. Trust is a big deal, bestie. Don't hand it out like free samples at the mall. 😭

You can point at repositories by their remote name, their description, or their UUID β€” all three work, pick your fave. And if you wanna trust the current repository, you just say "here". Iconic, honestly. πŸ‘‘


πŸ’€ before you trust anything, consider this scenario πŸ’€

not to be dramatic but this is the whole reason "use with care" exists:

  • Repository A is trusted, repository B is not.
  • Both of them contain the same content.
  • You run git-annex drop on repository A β€” it checks that B still contains the content, sees that it does, so the drop proceeds. βœ…
  • Then you run git-annex drop on repository B β€” and it trusts A to still contain the content, so that drop succeeds too. βœ…
  • Now the content has been lost. 🫠

Not me crying over your data. Please be careful out there. πŸ™ˆ


✨ OPTIONS ✨

  • --json β€” turns on JSON output πŸ”₯. This one's meant to be parsed by programs that use git-annex, so it's giving "for the robots, not for your eyeballs". Each line of output is a JSON object. one object per line, no cap.
  • --json-error-messages β€” the messages that would normally get dumped to standard error instead get included in the JSON. So nothing escapes into the void, it all just chills inside the JSON instead. 🧚

Also, the git-annex-common-options(1) can be used β€” those are the shared ones, go check them out. 🌈


πŸ’– SEE ALSO πŸ’–

(yes bestie, there's a whole trust spectrum β€” semitrust, untrust, dead β€” go read them all, it's giving lore. πŸ“š)


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <id@joeyh.name> β€” the main character who wrote all of this, we stan. 🫢


and that's the whole page, bestie!! this was the git-annex-trust(1) manual page, closing out the same way it opened πŸŽ€ β€” sending you off with all the love, no cap, periodt. go trust responsibly πŸ’œ