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

https://github.com/ephys/git-switch-branch

Interactively checkout a git branch
https://github.com/ephys/git-switch-branch

Last synced: about 1 year ago
JSON representation

Interactively checkout a git branch

Awesome Lists containing this project

README

          

# git-switch-branch

Interactively select a new branch

![example gif 1](demo.gif)

## Install

`npm i -g switch-branch`

Add as git alias: `git config --global alias.switch-branch git-switch-branch`

## Usage

Simply run `git-switch-branch` (or `git switch-branch` if you added the alias) in a directory with git initialised,
then select one of the branches.

## Future plans

`-r` option to list available remotes that do not have a local branch yet.