Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including git-lib-cli with all npm packages installed. Try it out:

git-lib-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("git-lib-cli/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

git-lib-cli v1.4.0

A collection of various git commands cli

git-CLI

This is a collection of various git-related CLI commands. To install, run

> npm install -g git-lib-cli

For more information on each CLI package, please view said package's README by clicking on the link of the package below.

Included Packages

Checkout

A command line tool that allows you to checkout to your other branches

> checkout

And a prompt will appear to checkout your local branches. To checkout your remote branches as well, please run

> checkout all

Commit

A command line tool that allows you to commit your local changes

> commit

You can also recommit your last change

> recommit

Push

A command line tool that allows you to push to your remote git

> push

Merge

A command line tool that allows you to merge from a selected branch into your current one

> merge

Revert

A command line tool that allows you to revert/uncommit changes you've made to files back to your last commit

> revert

Branch

A CLI tool that allows you to manipulate local git repository branch, or gain information. To get current git branch, files modified, and files added but uncommitted, run

> branch

To delete a branch, run

> branch delete

Versions

1.4.0

  • branch has new feature

1.3.0

  • branch

1.2.0

  • revert

1.1.0

  • Recommit

1.0.10

  • Fixed package.json bug

1.0.9

  • Updated to commit-cli v2.0.0
  • Added merge-cli

1.0.4

  • Updated package.json

1.0.3

  • Updated README

1.0.2

  • Fixed package.json bug

1.0.0

  • First
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free