Microsoft/vscode

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

Open

#244.550 aberto em 25 de mar. de 2025

Ver no GitHub
 (2 comments) (1 reaction) (1 assignee)TypeScript (10.221 forks)batch import
feature-requestgithelp wantedteam-low-hanging

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

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

Guia do colaborador