An open API service indexing awesome lists of open source software.

https://github.com/dfed/grb

A tool to simplify working with remote git branches
https://github.com/dfed/grb

Last synced: 5 months ago
JSON representation

A tool to simplify working with remote git branches

Awesome Lists containing this project

README

          

# Archived

This repository is archived in favor of [the inline `grb` method in the MagCat repository](https://github.com/dfed/MagCat/blob/0df08b45a9c76ff1bdd50f168cb1fe7f711bce0c/tilda-slash-dotfiles/shared_profile#L53).

# GRB

A tool to simplify working with git remote branches.

## Install

```sh
./install.sh
```

## Usage

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

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

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

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

// display help
grb --help
```

## License

Copyright © 2009-present MIT

## Author

* Jinzhu Zhang
* http://github.com/jinzhu
* http://twitter.com/zhangjinzhu