commitizen / commitizen/cz-cli

Add a way of reusing a commit message

Aperta
#548 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
hacktoberfest
Lingua principale
JavaScript
Stelle
17.5k
Fork
566
Merge medio
8h 16m
PR unite (30g)
1

Descrizione

I'd like to be able to reuse a commit message that was just created by the `commitizen` CLI. The use case: sharing the same message in two different repositories, without having to be prompted for all the questions again.

Since the commit is done under the hood, for instance, the autocompletion/autosuggestion from zsh can't handle it. Perhaps adding the commit to the .bash_history would work? Not sure. Another solution that comes to my mind as of now would be to add a last option called "Copy to clipboard? [Y/n]", then if yes, it could be reused as well in other repositories/terminal tabs.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.