git-annex-required(1)
β¨ NAME β¨
git-annex-required β bestie, this is how you get or set the required content expression π
πΈ SYNOPSIS πΈ
git annex required repository [expression]
π DESCRIPTION π
Okay so, when you run this with an expression, it configures the content that is required to be held in the repository. Periodt.
Run it with no expression and it just tells you the current required content setting of the repository. Like a little vibe check for your repo π
Now here's the tea: git-annex-wanted(1) is just a preference, lowkey. But this? This designates content that should really not be removed. Fr fr. For example, a file that is wanted can be removed with git annex drop, but if that file is required, it would need to be removed with git annex drop --force. π
Also, git-annex fsck will warn about required contents that are not present. So like, it will notice. Not me being the main character of your repo's guilt trip π
For example:
git annex required here "include=*.mp3 or include=*.ogg"
To return a repository to the original default behavior, use an empty value for the expression, eg:
git-annex required here ""
π OPTIONS π
- The
git-annex-common-options(1)can be used.
π NOTES π
- The
requiredcommand was added in git-annex5.20150420.
π¦ SEE ALSO π¦
π AUTHOR π
Joey Hess <id@joeyh.name>
And that's the whole page, bestie β this is from the General Commands Manual, page git-annex-required(1), and no, there's no fancy date or version stamped down here, just the manual name doing its little walk-off. Slay πβ¨
π¦ 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 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