Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: inherit git branch name to shorten on questions #935

Open
danielgroen opened this issue May 17, 2022 · 1 comment
Open

Comments

@danielgroen
Copy link

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

@danielgroen danielgroen changed the title Feature request Feature request: inherit git branch name to shorten on questions May 17, 2022
@Zhengqbbb
Copy link
Contributor

You can use the default value to customize the processing.
https://cz-git.qbenben.com/recipes/defaultIssues.html

hope can help u~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants