Skip to content

This repository contains git hooks to speed up/automate your work

License

Notifications You must be signed in to change notification settings

smajti1/git-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-hooks

This repository contains git hooks to speed up/automate your work

Hooks are programs you can place in a hooks directory to trigger actions at certain points in git’s execution.

To get more information about how git hooks works visit documentation page

List of available hooks

  1. composer
    1. post-checkout hook will run composer install if between two branches composer.lock was changed

Install

Go to your project git hooks directory

cd your_project_dir/.git/hooks

Download selected hook for example:

wget https://raw.github.com/smajti1/git-hooks/master/composer/post-checkout

Make hook executable

chmod +x post-checkout

License

This project is licensed under the terms of the MIT license

About

This repository contains git hooks to speed up/automate your work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages