Skip to content

Set the githooks directory after composer installation

License

Notifications You must be signed in to change notification settings

4wdmedia/composer-githooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer-Plugin for checked-in githooks

By default, git hooks are located in .git/hooks and are not checked in. Since git v2.9 it is possible to set a configuration variable core.hooksPath with a custom path. This composer plugin takes care to set the configuration variable to githooks of the current repository when composer install is run.

It is based on CaptainHook.

About

Set the githooks directory after composer installation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages