Skip to content

IvanInventor/git-hooks-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git hooks examples

Hook Description
pre-commit Edits version.cfg file for manual version change
prepare-commit Add info about commit type (commit, merge, rebase)
and hash in specific cases (rebase)
post-commit Notifies jenkins to build application
Need to setup 2 config variables:
user.jenkins-user
user.jenkins-api-key
post-commit-hash Writes commit hash into C header file

About

Examples of git-hooks usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages