commitizen / commitizen/cz-cli

Feature request: inherit git branch name to shorten on questions

Đang mở
#935 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
17.5k
Fork
566
Merge trung bình
8 giờ 16 phút
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.