Push to github in just one command.
Install globally so that you need to install only once. Using npm:
$ npm i -g ab-push
$ npm i -g --save ab-push
for node version < 5.0.0
#Pre-requisites
Initialize a git repository first.
git init
Connect with an existing of new gitub repository.
You are ready to go.
$ push <'commit_message'>
Replace the commit-message with your own message.
git init
git remote add origin https://github.com/abhinavbarve/git-push.git
//conneting to an existing repository.
push just a commit
$ push just a commit
warning: LF will be replaced by CRLF in lib/git-push.js.
The file will have its original line endings in your working directory
[master cf104d4] just a commit.
2 files changed, 12 insertions(+), 2 deletions(-)
PUSHING...
To https://github.com/abhinavbarve/git-push.git
d342f6b..cf104d4 master -> master
SUCCESS!