commitizen / commitizen/cz-cli

Feature request: inherit git branch name to shorten on questions

Offen
#935 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
17.5k
Forks
566
Ø Merge
8 Std. 16 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.