streamich/git-cz

Pain with failed pre-commit hooks (Feature Request)

Aberta

#649 aberto em 13 de mar. de 2024

 (0 comentário) (0 reação) (0 responsável)JavaScript (111 forks)github user discovery
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (1.872 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Imagine a situation where you have written a good commit message and done the same for its description by adding 3 more lines. Then, after filling out all the required fields, a pre-commit hook is triggered. Unfortunately, one of the style tests fails, and all your efforts to write a meaningful commit message are lost.

My suggestion is that, if a solution doesn't already exist, we could add something like a text saving feature to the cache, so that you can tap up or down on the keyboard to restore the last text you wrote in the title and description fields.

Guia do colaborador