Git hooks in Visual Studio?

I would like to implement a client git hook (type commit-msg) to check for a commit message. I made a working hook - it works fine when using the git console. But Visual Studio 2015 git's built-in plugin (Team Explorer) doesn't seem to take it into account and just skips these interceptors.

Has anyone tried to do the same with success? I read the Internet, and it seems the problem is not resolved, but I believe in you! :)

I want to check if the jira issue key commit message contains.

+8
git visual-studio visual-studio-2015 hook
source share
1 answer

From a written point of view, this is not possible.

There is a function request for this, and you can increase it if it is important for you: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4321705-enable-client-side-hooks- when-committing-code-to-a

0
source share

All Articles