Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Installation

Place pre-commit in ~/.git_template/hooks/pre-commit

Add ~/.git_template as your templatedir by running:

git config --global init.templatedir '~/.git_template'

You will need to run git init in any existing repositories for the hook to begin working. You will also need to re-run git init if any changes are made to the pre-commit script.

Note: Requires git >= 1.7.1.

Thanks

The original script was created by Jamie Lawrence, go check out his blog post on it.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published