Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 737 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 737 Bytes

zgit

npm

A command line tool make extra to git

Feature

  • zgit checkout -r make zgit can checkout from remote branch and create an new local branch and then alias it
  • zgit checkout -l make zgit can checkout from local branch and create an new local branch and then alias it
  • zgit branch -r make zgit can list remote

Documentation

Installation

npm install -g zgit
# or
cnpm install -g zgit

Examples (Run it and see it)

## list local branches with alias
zgit branch //list

## alias current local branch
zgit alias

## checkout one of local branches by select list
zgit checkout