A simple tool that allows you to push the code to current branch. The commands are the same as commit-cli except it pushes at the end as well.
In order to install, run
> npm install -g push-cli
To commit [files] with message [message] and push, simply type
> push [files] [message]
If [files] and [message] isn't provided, a prompt will appear for the user to input their values.
Example
> push index.js package.json "First init commit"
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
> push --all "$BR: added message"
is the same as
> push --all "feature/somefunction: added message"
- Dependant on commit-cli v2.x.x
- Fixed bug for exec. Using spawn instead
- First Working