Our team uses pre-commit to ensure certain tests pass before committing the changes. However, in some cases, it's unnecessary to run these scripts(e.g. when editing README.md) and so we're able to skip them by appending the --no-verify param to the command.
Example
git commit -m "John Doe" --no-verify
What's your opinion on this feature? Can you see any security issue?
Our team uses
pre-committo ensure certain tests pass before committing the changes. However, in some cases, it's unnecessary to run these scripts(e.g. when editingREADME.md) and so we're able to skip them by appending the--no-verifyparam to the command.Example
git commit -m "John Doe" --no-verifyWhat's your opinion on this feature? Can you see any security issue?