🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pull-checkout-merge-command.hook

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-checkout-merge-command.hook

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

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

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

git

FAQs

Package last updated on 18 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts