1.0.3 • Published 8 months ago
git-mg v1.0.3
git-mg
A simple CLI tool to merge Git branches effortlessly.
只干一件事:合并当前分支到目标分支,然后切回原来的分支。
Installation
npm install -g git-mg
Usage
mg dev
This will:
- Switch to the dev branch.
- Pull the latest changes from origin/dev.
- Merge the current branch into dev with --no-ff.
- Push dev to the remote repository.
- Switch back to the original branch.