cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

Add a way of reusing a commit message

Open rdsedmundo opened this issue 6 years ago • 0 comments

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.

rdsedmundo avatar Jul 31 '18 21:07 rdsedmundo