streamich/git-cz

Pain with failed pre-commit hooks (Feature Request)

Offen

#649 geöffnet am 13.03.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (111 Forks)github user discovery
enhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (1.872 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide