Skip to content

srusskih/git-pre-commit-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

This an exmaple of git hooks usage.

In this case we are going run django tests for our projects before a commit and do not allow make the commit without fixind tests :)

How you can use it:

  1. copy pre-commit to your .git/hooks directory
  2. edit TEST_COMMAND in pre-commit to propertly tests run for your's project
  3. create some changes and commit them :)

About

Allow run tests before commit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published