commitizen / commitizen/cz-cli

Feature request: inherit git branch name to shorten on questions

オープン
#935 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
17.5k
フォーク
566
平均マージ
8時間 16分
マージ済み PR(30日)
1

説明

Hi,

In many companies git branches are named after something like this: `feature/ticket-15`.

My feature request would be:
an option to inherit the current branch name, with even the option to define how you write your branch name.

so thhe option would be something like this:
`{
inheritGitBranch: true // results in feature/issue-ticket
}`
*This will let you skip the "type" and "scope" questions

By putting the option like this:
`{
inheritGitBranch: ["type", "/", "scope"]
}`
you can even switch scope, and type or even change the devider to '-'.

However, i think this would make a lot of devs happy since it prevents you from 2 steps

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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