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
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


hooks add pull-checkout-merge-command.hook

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

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

Runs on

  • git pull
  • git merge
  • git checkout

Change Log


The first draft.

npm loves you