/bluehawk-plugin-git

Bluehawk x git plugin

Primary LanguageTypeScriptApache License 2.0Apache-2.0

bluehawk-plugin-git

A Bluehawk x git plugin

Installation

npm install -g bluehawk bluehawk-plugin-git

Usage

The bluehawk-plugin-git executable returns its installation path, so you can use it easily with bluehawk --plugin.

Copy

Run bluehawk copy to a remote git repo, commit, and push.

bluehawk \
  --plugin "`bluehawk-plugin-git`" \
  git copy \
    --to-repo git@github.com:your/targetRepo.git \
    --state start \
    --delete-everything \
    --commit-message "Update with start state" \
    --branch start \
    /path/to/project