让你吃惊 didn't check the docs for pre-commit run
pre-commit run
你在找 --from-ref 和 --to-ref
--from-ref
--to-ref
免责声明:我写了预提交