Skip to content

birkenfeld/gitchangelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git changelog hook

This hook should be used as prepare-commit-msg. It uses the staged diff of a pre-determined "changelog" file to pre-fill the commit message.

For example, if you add this in your changelog file prior to committing:

- Fix #1234: prevent crash when arguments missing

the hook will take this out of the diff to be committed and pre-fill the commit message with :

Fix #1234: prevent crash when arguments missing

The file to check is determined by the hooks.changelogfile config setting, and defaults to CHANGES.

This hook is copyright 2015 by Georg Brandl, and can be distributed under the GNU GPL version 2 or later.

About

Git hook pre-filling the commit message with text added to the changelog file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages