commitizen / commitizen/cz-cli

[Serious Bug] Git-CZ prevent rebase command to squash commits

未關閉
#672 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
17.5k
分支
566
平均合併
8 小時 16 分鐘
30 天內合併 PR
1

描述

Typing

> git rebase -i ${COMMIT_HASH}

The git-cz hook will be called and prevent to squash commits into one.

Is there anyway to prevent this unwanted behaviour?

貢獻指南

開啟貢獻指南

研究方向

首先在 cz-cli 中重現 `git rebase -i ${COMMIT_HASH}`,並追蹤 git-cz hook 在 rebase 期間何時被呼叫。完成的標準是:interactive rebase 可以將多個 commit squash 成一個,而 hook 不會阻止該操作,同時正常的 commit 行為維持不變。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
git, javascript
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
32/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。