streamich/git-cz

Pain with failed pre-commit hooks (Feature Request)

Aperta

#649 aperta il 13 mar 2024

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (111 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (1872 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor