commitizen / commitizen/cz-cli
Feature request: inherit git branch name to shorten on questions
- Lingua principale
- JavaScript
- Stelle
- 17.5k
- Fork
- 566
- Merge medio
- 8h 16m
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L’issue non indica file, test o punti di ingresso. Inizia individuando come cz-cli legge la configurazione dell’adapter e pone le domande su tipo e scope, quindi definisci come il branch Git corrente viene mappato su questi valori. Il completamento deve includere una sintassi di configurazione definita, la gestione dei branch implementata e test per i mapping proposti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, javascript
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100