【文件属性】:
文件名称:git-branch-deploy:为部署设置存储库分支
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-17 00:52:43
JavaScript
git 分支部署
为部署设置存储库分支
安装
$ npm install -g git-branch-deploy
用法
$ git-branch-deploy some-remote/fix-issue-branch
它能做什么?
它在您的路径中运行以下命令:
git reset
git checkout .
git clean -df
git checkout master
git pull
git fetch some-remote
git merge --no-commit --no-ff some-remote/fix-issue-branch
git reset
在测试环境中设置远程分支很有用
【文件预览】:
git-branch-deploy-master
----bin()
--------git-branch-deploy(565B)
----index.js(1KB)
----package.json(420B)
----LICENSE(1KB)
----CHANGES(153B)
----.gitignore(51B)
----README.md(467B)
----.lint(63B)