git-workflow-cli
v1.4.1
Published
CLI commands for Git workflow
Downloads
14
Maintainers
Readme
git-workflow-cli
Installation
npm install git-workflow-cli --global
Discussion
Some minor git
workflow commands that I could probably write bash scripts for.
G dcb
- Delete current branch that's been merged- Checkout
master
- Pull from
origin
- Delete previous branch
- Option to force delete
- Checkout
G dab
- Delete all merged branches- Checkout
master
- Pull from
origin
- Find all
merged
branches via thegit branch --merged master
command - Delete all branches
- Prune all remote local branches
- Checkout
G rcb
- Rebase current branch againstmaster
- Checkout
master
- Pull from
origin
- Checkout previous branch
- Rebase against
master
- Checkout
G rcbfp
- Rebase current branch againstmaster
and forcepush
- Checkout
master
- Pull from
origin
- Checkout previous branch
- Rebase against
master
- Force push branch to
origin
- Checkout
G cpm
- Checkout and pullorigin/master
- Checkout
master
- Pull from
origin
- Checkout