ab-push

1.0.2 • Public • Published

ab-push v1.0.1

Push to github in just one command.

Installation

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.

Usage

$ push <'commit_message'>
Replace the commit-message with your own message.

Example

git init
git remote add origin https://github.com/abhinavbarve/git-push.git //conneting to an existing repository.
push just a commit

Result

$ 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!

Readme

Keywords

none

Package Sidebar

Install

npm i ab-push

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

2.21 kB

Total Files

4

Last publish

Collaborators

  • abhinavbarve