checkout-cli
v1.3.0
Published
a CLI that allows users to pick the branch they want to checkout
Readme
Checkout-CLI
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-cliTo Run
To checkout into an existing local branch, run
> checkoutTo checkout into any existing branch, whether is it local or remote, run
> checkout allNew
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
