DEV Community

Bimochan Shrestha
Bimochan Shrestha

Posted on • Updated on

Smart Commit

To those who works with Jira, we have a convention to prefix commit name with ticket number. This repo solves that tedious task.

Story: I searched for command that could print the current branch(our branch name = Jira ticket number) and decided to concat it with hyphens, colons and user’s input message.

Have a look.
Tutorial smart commit

Smart commit github link

Discussion (1)

Collapse
jimpriest profile image
Jim Priest

Some more detail on how you did this would be useful.