Continuing Useful git hooks
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
To be continued…