Skip to content

jinzhu/grb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRB

A tool to simplify working with git remote branches.

Install

go install github.com/jinzhu/grb

Usage

// rename `branch1` to `branch2` and setup git tracking
grb mv `branch1` `branch2`

// rename current branch to `branch` and setup git tracking
grb mv `branch`

// add a remote repo
grb remote_add `name` `repo path`

// remove a remote repo
grb remote_rm `name`

// delete branch `branch`, default current branch
grb rm `branch`

// pull branch `branch` and setup git tracking, default current branch
grb pull `branch`

// push branch `branch` and setup git tracking, default current branch
grb push `branch`

// create new branch `branch`
grb new `branch`

// prune dead remote branches
grb prune

// display help
grb --help

License

Copyright © 2009-present MIT

Author

About

A tool to simplify working with remote git branches

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages