1.0.2 • Published 7 months ago

cpmp v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

cpmp

Easily cpmp(checkout, pull, merge, push) in one line.

Install

$ npm install -g cpmp
$ cpmp -v

Usage

$ cd /path/to/your/repo
$ cpmp run feature/12.0.0 build/qa_a build/qa_b build/qa_c

equals to

git checkout feature/12.0.0
git pull
git switch build/qa_a
git pull
git merge feature/12.0.0
git push
git switch build/qa_b
git pull
git merge feature/12.0.0
git push
git switch build/qa_c
git pull
git merge feature/12.0.0
git push

Reference

Referencing the source code of husky https://github.com/typicode/husky/tree/main/src

TODO

// TODO: Pull all specified branches
$ cpmp pull feature/12.0.0 build/qa_a build/qa_b build/qa_c
1.0.2

7 months ago

1.0.1

2 years ago

1.0.0

2 years ago