commitizen / commitizen/cz-cli
Add a way of reusing a commit message
- Langage dominant
- JavaScript
- Étoiles
- 17.5k
- Forks
- 566
- Merge moyen
- 8 h 16 min
- PR mergées (30 j)
- 1
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier ni test n’est nommé, et l’issue laisse ouverte la décision concernant l’implémentation. Commencez par suivre le flux de la CLI commitizen qui crée le message de commit, puis déterminez et testez une méthode de réutilisation prise en charge dont le résultat fonctionne dans un autre dépôt ou terminal.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git, javascript, node.js
- Domaine
- cli, developer-experience
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100