commitizen / commitizen/cz-cli

Provide a way to prompt to amend commit message only

Ouverte
#988 0 commentaires 6 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
17.5k
Forks
566
Merge moyen
8 h 16 min
PR mergées (30 j)
1

Description

There should be a way to prompt when there are no staged or changed files, but the commit message needs to be amended and still conform to the conventions.

`git commit --amend`

With no files changed or staged, the amend commit command currently displays the message, "No files added to staging! Did you forget to run git add?" and bypasses the prompt, by design per #7.

I contend that there are reasons to prompt just to fix the commit message without file changes.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.