checkout-cli

1.3.0 • Public • Published

Checkout-CLI

Build Status

A simple tool so you don't have to wonder which branch you should run your 'git checkout'. Once you run checkout, a list of your available local branches will be shown.

Installation

> npm install -g checkout-cli

To Run

To checkout into an existing local branch, run

> checkout

To checkout into any existing branch, whether is it local or remote, run

> checkout all

New

To create a new branch, run

> checkout new [branch name]

If [branch name] is not included, then it'll prompt you for the new branch name you would like to create

Checkout with name

To just checkout to a different branch, run

> checkout [branch]

Then you will be in local branch [branch]

Version Updates

1.3.0

  • Added ability to checkout to branch just with name

1.2.0

  • Added ability to checkout any branches, whether it is local or remote

1.1.0

  • Added ability to create new branch

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.0
    1
    • latest

Version History

Package Sidebar

Install

npm i checkout-cli

Weekly Downloads

8

Version

1.3.0

License

ISC

Last publish

Collaborators

  • joeyism