git commit --no-verify

Commit changes without running pre-commit hooks

The git commit --no-verify command allows you to bypass any pre-commit hooks configured for the repository and directly commit your changes. Pre-commit hooks are scripts that can run various checks or tests on your changes before allowing the commit. By using the --no-verify flag, you can skip these pre-commit checks and directly commit your changes. This can be useful in cases where you need to quickly commit changes without going through the usual checks. There are no other flags or variations for this command.

The short version of the --no-verify flag is -n.

Sign in to enable bookmarking, reminders, progress-tracking and more...