commitizen / commitizen/cz-cli

Add a way of reusing a commit message

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

描述

I'd like to be able to reuse a commit message that was just created by the `commitizen` CLI. The use case: sharing the same message in two different repositories, without having to be prompted for all the questions again.

Since the commit is done under the hood, for instance, the autocompletion/autosuggestion from zsh can't handle it. Perhaps adding the commit to the .bash_history would work? Not sure. Another solution that comes to my mind as of now would be to add a last option called "Copy to clipboard? [Y/n]", then if yes, it could be reused as well in other repositories/terminal tabs.

貢獻指南

開啟貢獻指南

研究方向

未指定檔案或測試,且 issue 沒有確定實作方式。先追蹤建立提交訊息的 commitizen CLI 流程,然後確定並測試一種受支援的重複使用路徑,使其結果能在另一個儲存庫或終端機中正常運作。

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

評估

技術堆疊
git, javascript, node.js
領域
cli, developer-experience
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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