You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

checkout-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkout-cli

a CLI that allows users to pick the branch they want to checkout

1.3.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

Keywords

git

FAQs

Package last updated on 18 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts