git-branch-deploy

0.1.0 • Public • Published

git-branch-deploy

Setup repository branch for deployment

Installation

$ npm install -g git-branch-deploy

Usage

$ git-branch-deploy some-remote/fix-issue-branch

What it does?

It runs following commands in your path:

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

It's useful to setup remote branches on test environments

Package Sidebar

Install

npm i git-branch-deploy

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • medikoo