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.
Example
> 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
Example
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"
- Updated to use git-lib
- Added functionality of recommit
- Modified the way user inputs
- Updated commited files showings
- Updated git to show commited files
- Show which files are commited
- Added a check to see if there are files to commit first
- Added ability to variably add branch to commit message
- First Working