commitizen / commitizen/cz-cli
Provide a way to prompt to amend commit message only
未关闭
- 主要语言
- JavaScript
- 星标
- 17.5k
- 派生
- 566
- 平均合并
- 8 小时 16 分钟
- 30 天内合并 PR
- 1
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。