1.4.1 • Published 6 years ago

git-workflow-cli v1.4.1

Weekly downloads
19
License
MIT
Repository
github
Last release
6 years ago

git-workflow-cli

Build Status Greenkeeper badge npm npm

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
  • G dab - Delete all merged branches
    • Checkout master
    • Pull from origin
    • Find all merged branches via the git branch --merged master command
    • Delete all branches
    • Prune all remote local branches
  • G rcb - Rebase current branch against master
    • Checkout master
    • Pull from origin
    • Checkout previous branch
    • Rebase against master
  • G rcbfp - Rebase current branch against master and force push
    • Checkout master
    • Pull from origin
    • Checkout previous branch
    • Rebase against master
    • Force push branch to origin
  • G cpm - Checkout and pull origin/master
    • Checkout master
    • Pull from origin