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
- Host: GitHub
- URL: https://github.com/ephys/git-switch-branch
- Owner: ephys
- Created: 2018-12-11T14:54:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-18T11:26:07.000Z (over 7 years ago)
- Last Synced: 2024-04-24T22:02:17.982Z (about 2 years ago)
- Language: JavaScript
- Size: 199 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-switch-branch
Interactively select a new branch

## 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.