pull-checkout-merge-command.hook

v0.0.0
Run scripts after `pull`, `merge` and `checkout` succeed. Great for compiled source management between branches and automating migrations
git hook merge migration version control

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 i pull-checkout-merge-command.hook

Metadata

  • GNU-GPL-2
  • Whatever
  • Matthew Chase Whittemore
  • released 9/18/2013

Downloads

Maintainers