Skip to content

SCM: Add a options to commit without verify when run git's hooks fail #244550

@axetroy

Description

@axetroy

Background:

When commit fails, sometimes it is because of running hooks. I hope there is a button to ignore the hooks script and continue to commit.

The Git command has a flag to ignore hooks

--no-verify, -n

Why:
Because sometimes, we just make some simple modifications. If we want to verify the hooks, we may need to install/reinstall the dependencies, which is a waste of time.

This prompt pops up, for Git noob, he will panic, adding an option is more friendly

Image Image

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions