git-annex-pre-commit(1)

πŸ“¦
version 10.20261026 Β· 2 versions
  • 10.20261026 Β· alpine 3.24, arch rolling, debian bookworm, 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 (latest)
  • 8.20210223 Β· ubuntu jammy
, in alpine 3.24, arch rolling, debian bookworm, 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-pre-commit πŸ’–

ok bestie, this is the git-annex-pre-commit(1) page, straight from the General Commands Manual, and it's honestly giving "tiny little helper that does SO much behind the scenes" energy πŸŽ€


✨ NAME ✨

git-annex-pre-commit β€” run by git pre-commit hook πŸ‘‘


✨ SYNOPSIS ✨

git annex pre-commit [path ...]

🌸 DESCRIPTION 🌸

okay so, this one is meant to be called from git's pre-commit hook. like, that's literally its whole job. and the way that git annex init automatically creates a pre-commit hook using this?? iconic behavior, no notes, it just handles it for you 🫢

what does it actually do tho? it fixes up symlinks that are staged as part of a commit, to make sure they point to annexed content. that's it. that's the task. lowkey essential, highkey underappreciated πŸ’…

and when you're in a view? it updates metadata to reflect changes made to files in the view. so your view stays accurate and not messy. we love a self-maintaining queen ✨


πŸ¦‹ OPTIONS πŸ¦‹

that's the whole list bestie, this one is short and sweet fr fr


🌈 SEE ALSO 🌈


πŸ’œ AUTHOR πŸ’œ

Joey Hess <id@joeyh.name> β€” yeah, the legend themselves, we stan πŸ˜­πŸ‘‘


and that's the whole page!! slay πŸ’– this was git-annex-pre-commit(1), part of the git-annex manual set, and it's your girl signing off with all the love in the world πŸŒΈπŸ¦‹βœ¨ periodt.