PRE-COMMIT-MIGRATE-CONFIG(1)
π PRE-COMMIT-MIGRATE-CONFIG(1) π
okay bestie, welcome to the pre-commit manual page for pre-commit-migrate-config β a User Command, and honestly? a little glow-up machine. its whole job is migrating your old list configuration into the shiny new map configuration. no cap. π¦
β¨ NAME β¨
pre-commit-migrate-config β migrates list configuration to the new map configuration. it's giving β¨format refreshβ¨, and she ate.
πΈ SYNOPSIS πΈ
pre-commit migrate-config [-h] [--color {auto,always,never}] [-c CONFIG]
directory
(yes the directory goes at the end, she's a positional girlie π
)
π OPTIONS π
π«Ά OPTIONAL ARGUMENTS
these are optional, hence the name, iykyk. they're the little accessories that make the fit.
-h,--helpβ shows you a help message and then dips. that's it, that's the whole vibe. ask and she answers. π--color {auto,always,never}β whether to use color in the output, because sometimes you want the rainbow and sometimes you're piping it into a file like a coward (respectfully π). takes one of three values:auto,always, ornever. defaults toauto, so she'll figure it out herself. main character energy fr fr. π-c,--config CONFIGβ path to an alternate config file. like, if your config isn't where she expects it, just point her at the right one.CONFIGis the path, bestie. π
heads up: every option here is optional β the only thing she needs from you is that directory.
π SEE ALSO π
the whole pre-commit cinematic universe, all linked up like a group chat you never mute:
pre-commit-autoupdate(1)pre-commit-clean(1)pre-commit-gc(1)pre-commit-init-templatedir(1)pre-commit-install(1)pre-commit-install-hooks(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 also, obviously:
pre-commit(1)β the mothership herself. π«Ά
mwah π that's the page. this one's a User Commands joint from the pre-commit source, stamped February 2025. go forth, migrate that config, and slay. β¨π
π¦ 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