git-annex-required(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 questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸ’…


🌈 NOTES 🌈

  • The required command was added in git-annex 5.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 πŸ’–βœ¨