1.0.0 • Published 10 years ago
git-promote v1.0.0
git-promote
git extension to squash merge pull requests into master
This is a git extension that squash merges a pull request into the master branch. The process is as follows:
git promote <PR_NUM>git pull origin pull/$PR_NUM/head:pullrequest-$PR_NUMgit checkout pullrequest-$PR_NUMgit pull origin mastergit checkout mastergit merge --squash pullrequest-$PR_NUMgit commitgit push origin mastergit branch -D pullrequest-$PR_NUM
Installation
You can install git-promote using npm install.
npm install -g git-promoteLicense
1.0.0
10 years ago