Skip to content

jhurliman/git-promote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>
  1. git pull origin pull/$PR_NUM/head:pullrequest-$PR_NUM
  2. git checkout pullrequest-$PR_NUM
  3. git pull origin master
  4. git checkout master
  5. git merge --squash pullrequest-$PR_NUM
  6. git commit
  7. git push origin master
  8. git branch -D pullrequest-$PR_NUM

Installation

You can install git-promote using npm install.

npm install -g git-promote

License

The MIT License (MIT)

About

git extension to squash merge pull requests into master

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages