commitizen / cz-cli

The commitizen command line utility. #BlackLivesMatter
http://commitizen.github.io/cz-cli/
MIT License
16.76k stars 552 forks source link

Possible to output the message but do not git commit / push ? #600

Open iangregsondev opened 5 years ago

iangregsondev commented 5 years ago

Hi,

I am actually considering using gitlab to squash all my commits into one and provide a new commit following the commitizen style.

I am using their GUI so there is no way to hook into the CLI.

Can commitizen do everything but bypass the git commit / push and just output the message created to the console so that i can copy into the gui ?

thanks in advance

jimthedev commented 5 years ago

Just so I am understanding you want it not to commit at all and be more of a --dry-run that outputs the commit message that would have been applied?

iangregsondev commented 5 years ago

Yes that would work and I can copy the commit msg and apply in gitlab gui