1.4.1 • Published 7 years ago
git-workflow-cli v1.4.1
git-workflow-cli
Installation
npm install git-workflow-cli --globalDiscussion
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
mergedbranches via thegit branch --merged mastercommand - 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 againstmasterand 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