chriswalz / bit

Bit is a modern Git CLI
Apache License 2.0
6.06k stars 107 forks source link

reformat gitmoji commit message #111

Closed raccoonback closed 3 years ago

raccoonback commented 3 years ago

when committing using gitmoji currently, the message is formatted as follows. the title of the commit message goes to the next line. such as,

👷 
test commit
description

I think the title of the commit message should be expressed in one line with the emoji. It's because there is a case where developers only see the title of each title of commit messages. such as git log --pretty=online

 👷 test commit
 description

It's not a completed function due to the problem of go-prompt https://github.com/c-bata/go-prompt/issues/209 now ,but I think it's better to follow the general use case.

raccoonback commented 3 years ago

I'm trying to solve the problem that I'm facing when I apply emoticons.

https://github.com/c-bata/go-prompt/pull/243

Perhaps emoji will be available as the name of the go-prompt once this issue is resolved.

chriswalz commented 3 years ago

cool, thanks!