git-merge-dist
v0.1.18
Published
Merge the dist directory for another branch of the current project
Downloads
9
Maintainers
Readme
git-merge-dist
简体中文 | English
git
Merge the packaged dist
resource of another branch, which is used to deal with AB environment, rolling release and other merging resource issues.
Install
npm install git-merge-dist
Usage
$ gmd --help
Usage
$ gmd [options]
$ git-merge-dist [options]
Options
--version output the version number
--help output usage information
-mergeBranch Specify another branch name to merge. Default Value: `master`
-distPathName Specifies the directory of the resource to be merged. Default Value: `dist`
-bothWayMerge Whether to merge in both directions. Default Value: `false`
Examples
$ gmd -mergeBranch=pre_master_20220721 -distPathName=dist/static
$ gmd -mergeBranch=pre_master_20220616 -distPathName=dist
$ gmd -mergeBranch=pre_master_20220616 -bothWayMerge=true