use -n to ignore hooks
In Git, the -n option with the git commit command disables running the pre-commit hooks.
Hooks are scripts that Git automatically runs at various points in a repository’s life cycle, such as before a commit. Typically, a pre-commit hook is used to check code quality or enforce certain rules before allowing a commit.
Here’s how you would use the -n flag: