Skip to content
mnaoumov.dev
Go back

Useful git hooks - Part 2

Continuing Useful git hooks

Repo - https://bitbucket.org/mnaoumov/githooks/

I completely reviewed the idea of testing hooks

You just grab the code from repository, it has only master branch

Then you run PrepareForTests.ps1

And it creates local repository and branches to emulate the situations handled by hooks.

README.md contains good explanation how to test hooks.

Also I implemented commit-msg hook which checks that all your commit messages prefixed with corresponding TFS work item ID

provide-tfs-work-item-id-dialog.png

To be continued…

Useful git hooks – Part 3


Share this post on:

Previous Post
Good WordPress free theme_
Next Post
MarkdownPad - very nice Markdown editor