Skip to content

✅ Check whether the latest commit of master has been merged into current branch for git projects.

License

Notifications You must be signed in to change notification settings

elvinn/git-master-merged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Npm Package Npm Downloads Build Status node codebeat badge Dependency Status JavaScript Style Guide

git-master-merged (Chinese Doc)

Check whether the latest commit of master has been merged into current branch for git projects.

Installation

Install with npm globally:

$ npm install --global git-master-merged

or as a development dependency for your project:

$ npm install --save-dev git-master-merged

Usage

If installed globally, just run following command in git project directory:

$ git-master-merged

If installed as a development dependency, set up a check script in package.json:

"scripts": {
  "git-master-merged": "git-master-merged"
}

Then run command in project directory:

$ npm run git-master-merged

Also, you can use git-master-merged as a requirement of dist or publish, set up dist and scripts in package.json:

"scripts": {
  "dist": "git-master-merged && webpack --config webpack.config.js",
  "publish": "git-master-merged && other publish commands"
}

ChangeLog

ChangeLog

Licence

MIT

About

✅ Check whether the latest commit of master has been merged into current branch for git projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published