PRE-COMMIT-AUTOUPDATE(1)
π PRE-COMMIT-AUTOUPDATE π
okay bestie, welcome to pre-commit-autoupdate(1) β the user command that literally keeps your pre-commit config looking fresh. what does it do? it auto-updates your pre-commit config to the latest repos' versions. that's it, that's the whole vibe. glow-up for your config file, no cap β¨
πΈ SYNOPSIS πΈ
pre-commit autoupdate [-h] [--color {auto,always,never}] [-c CONFIG]
[--bleeding-edge] [--freeze] [--repo REPO] [-j JOBS]
like yes, it's a lot of brackets, but she's cute, she's manageable, and every single one of them is your friend π«Ά
β¨ OPTIONS β¨
π OPTIONAL ARGUMENTS
okay so these are the little levers you can pull. none of them are required, all of them are iconic in their own way π
-h,--helpβ shows you a help message and then dips (exits). the "just tell me what's going on" button π--color {auto,always,never}β decides whether the output gets the rainbow treatment or not. the options are{auto,always,never}. defaults toauto, so she'll read the room and figure it out herself π-c,--config CONFIGβ points to an alternate config file. like, a different one. not the usual one. you're giving her a specific path and she respects that β¨--bleeding-edgeβ updates to the bleeding edge ofHEADinstead of the latest tagged version (which is the default behavior). yes, the name is dramatic, and yes, it means what it sounds like ππ₯--freezeβ stores "frozen" hashes inrevinstead of tag names. locked in. immovable. periodt βοΈ--repo REPOβ only update this repository. and the way that you can specify it multiple times?? chef's kiss, truly π you get to be picky and that's your right-j,--jobs JOBSβ number of threads to use. default1. so if you're feeling impatient you can turn that number up and let her multitask π§
π₯ SEE ALSO π₯
the whole friend group, fr fr β go read them too, they're all part of the same slay family:
pre-commit-clean(1)pre-commit-gc(1)pre-commit-init-templatedir(1)pre-commit-install(1)pre-commit-install-hooks(1)pre-commit-migrate-config(1)pre-commit-run(1)pre-commit-sample-config(1)pre-commit-try-repo(1)pre-commit-uninstall(1)pre-commit-validate-config(1)pre-commit-validate-manifest(1)pre-commit-help(1)
and obviously the main character herself: pre-commit(1) π
okay that's the whole page, bestie!! this manual page is dated February 2025 β so like, that's when she was written, and she's still serving. go update your config, you deserve it ππ
π¦ where this page comes from
- epel 10: pre-commit 4.7.0-1.el10_3 Β· MIT
- fedora 43: pre-commit 4.3.0-3.fc43 Β· MIT
- fedora 43: pre-commit 4.6.2-1.fc43
- fedora 43: pre-commit 4.7.0-1.fc43 Β· MIT
- fedora 44: pre-commit 4.5.1-2.fc44 Β· MIT
- fedora 44: pre-commit 4.6.2-1.fc44
- fedora 44: pre-commit 4.7.0-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms