Miss any of our Open RFC calls?Watch the recordings here! »

pull-checkout-merge-command.hook

0.0.0 • Public • Published

Pull, Checkout, Merge... COMMAND!

Run scripts after certain git commands are used. Great for compiled source mangeagement between branches and automating magrations

Usage

hooks add pull-checkout-merge-command.hook

Open package.json and add "pcm-command" param to your scripts.

{
    "name": "my-cool-tool",
    "scripts":{
        "pcm-command": "echo \"this runs"\"
    }
}

Runs on

  • git pull
  • git merge
  • git checkout

Change Log

0.0.0

The first draft.

Keywords

none

Install

npm i pull-checkout-merge-command.hook

DownloadsWeekly Downloads

1

Version

0.0.0

License

none

Last publish

Collaborators

  • avatar