commitizen / commitizen/cz-cli

Add a way of reusing a commit message

オープン
#548 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
hacktoberfest
主要言語
JavaScript
スター
17.5k
フォーク
566
平均マージ
8時間 16分
マージ済み PR(30日)
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 のフローを追跡し、その後、結果が別のリポジトリまたはターミナルで機能する、サポートされている再利用経路を1つ特定してテストしてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, javascript, node.js
領域
cli, developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。