Skip to content

zhhb/git-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

git extra nodejs cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published