commitizen / commitizen/cz-cli

Add a way of reusing a commit message

Open
#548 0 comments 0 reactions 0 assignees View on GitHub
hacktoberfest
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.