netlify-git-branch
v2.0.0
Published
Feature branch staging environments with netlify and git.
Downloads
124
Readme
netlify-git-branch
Feature branch staging environments with netlify and git.
Easily deploy feature branches to indiviudal subdomains on netlify.
Usage
$ npm install -g netlify-git-branch
$ netlify-git-branch COMMAND
running command...
$ netlify-git-branch (--version)
netlify-git-branch/2.0.0 linux-x64 node-v16.13.0
$ netlify-git-branch --help [COMMAND]
USAGE
$ netlify-git-branch COMMAND
...
Commands
netlify-git-branch delete NAME
Delete netlify staging subdomain for this branch
USAGE
$ netlify-git-branch delete [NAME]
ARGUMENTS
NAME Name is prefixed onto the git branch name. For Example on branch 'my-feature' and a name of 'my-site' the domain
will be 'https://my-site-my-feature.netlify.app'.
DESCRIPTION
Delete netlify staging subdomain for this branch
EXAMPLES
$ netlify-git-branch delete my-site
See code: src/commands/delete/index.ts
netlify-git-branch deploy NAME
Deploy branch to netlify staging subdomain
USAGE
$ netlify-git-branch deploy [NAME] [--dir <value>] [--assert <value>]
ARGUMENTS
NAME Name is prefixed onto the git branch name. For Example on branch 'my-feature' and a name of 'my-site' the domain
will be 'https://my-site-my-feature.netlify.app'.
FLAGS
--assert=<value> Check deployed site using CSS <selector>
--dir=<value> [default: dist] Deploy site from <dir>
DESCRIPTION
Deploy branch to netlify staging subdomain
EXAMPLES
$ netlify-git-branch deploy my-site --dir dist
See code: src/commands/deploy/index.ts
netlify-git-branch help [COMMAND]
display help for netlify-git-branch
USAGE
$ netlify-git-branch help [COMMAND] [--json] [--all]
ARGUMENTS
COMMAND command to show help for
FLAGS
--all see all commands in CLI
--json Format output as json.
DESCRIPTION
display help for netlify-git-branch
See code: @oclif/plugin-help