Skip to content

A small collection of Git hooks which are useful for most repositories

Notifications You must be signed in to change notification settings

IrishPrime/git-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Git Template

A small collection of githooks which are useful in most repositories.

Install

Copy the hooks directory to the init.templateDir specified in your .gitconfig. If you don't have such an entry, add one.

mkdir ~/.git-template
git config --add init.templateDir ~/.git-template
[init]
	templateDir = ~/.git-template

Usage

Whenever you create a new repository (by git init or git clone) the contents of init.templateDir will be copied to the .git directory. This allows you to get all your hooks (or other files) configured in each repo right away.

About

A small collection of Git hooks which are useful for most repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages