A simple tool to allow you to easily commit your files.
In order to install, run
> npm install -g commit-cli
To commit [files] with message [message], simply type
> commit [files] -m [message]
If [files] and [message] isn't provided, a prompt will appear for the user to input their values.
> commit index.js package.json -m "First init commit"
To recommit the last message with [new-message], simply type
> recommit [new-message]
In order to add current branch into your commit message (useful for JIRA and STASH commits), add $BR to your message
If your current branch is feature/somefunction, then
commit --all -m "$BR: added message"
is the same as
> commit --all -m "feature/somefunction: added message"
Recommit can be done by
recommit "$BR: some new message"