Skip to content

renelink/git-tips-and-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GIT Commit Hooks Distribution

This project shows how git hooks can be distributed and used per repository.

Just place the hooks you need in the hooks folder.

After you checked out this repository you can enable the hooks by setting the core.hooksPath to

git config core.hooksPath './hooks'

Git will now execute the hooks from the repository. In my example it will output

Example output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages