pull-checkout-merge-command.hook

Run scripts after `pull`, `merge` and `checkout` succeed. Great for compiled source management between branches and automating migrations

npm install pull-checkout-merge-command.hook
3 downloads in the last day
5 downloads in the last week
13 downloads in the last month

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.

npm loves you