Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruyadorno/git-bc
Git plugin to interactively list branches and checkout
https://github.com/ruyadorno/git-bc
cli command-line git git-plugin unix
Last synced: 10 days ago
JSON representation
Git plugin to interactively list branches and checkout
- Host: GitHub
- URL: https://github.com/ruyadorno/git-bc
- Owner: ruyadorno
- License: mit
- Created: 2015-05-11T00:57:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-06T16:13:47.000Z (about 8 years ago)
- Last Synced: 2024-10-17T03:14:27.659Z (21 days ago)
- Topics: cli, command-line, git, git-plugin, unix
- Language: JavaScript
- Size: 16.6 KB
- Stars: 60
- Watchers: 5
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-bc
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
> Git plugin to interactively list branches and checkout
![git-bc example image](https://cloud.githubusercontent.com/assets/220900/7557466/e7cd3866-f75f-11e4-8406-b0651ddf2ac4.gif)
`git branch` + `git checkout` in a single, convenient command.
## Install
Install it using [npm](https://www.npmjs.com/):
```
npm install -g git-bc
```## Usage
Run the command:
```js
git bc
```This will list all available branches for your repo in a interactive list, just hit ENTER to checkout whatever branch you select.
### Options
- `git bc -a` List all available branches
- `git bc -r` List remote branches only
- `git bc -h` Shows help message## License
MIT © [Ruy Adorno](http://ruyadorno.com)
[npm-url]: https://npmjs.org/package/git-bc
[npm-image]: https://badge.fury.io/js/git-bc.svg
[travis-url]: https://travis-ci.org/ruyadorno/git-bc
[travis-image]: https://travis-ci.org/ruyadorno/git-bc.svg?branch=master