git-merge-into
v1.0.0-build7
Published
Merges the current branch into a given number of branches
Downloads
1
Readme
Git-Merge-Into
This is a tool to merge the content of a current git branch to any number of branches.
This could for example be useful if you work on a hotfix, which then should be merged into main
and develop
.
Installation
Using NPM
$ npm install -g git-merge-into
Using Yarn
$ yarn global add git-merge-into
Use
To use the comment, make sure your current git branch doesn't have uncommited changes, then execute:
$ gmi branch [... more_branches]
Features
- Merge current branches into a list of given branches
- Detect if current branch has unstaged changes
- Detect if current branch has unstaged files
- Detect if there is a conflict and revert the merge
- Detect if a branch doesn't exist
- Give a summary of into which branches were actually merged