I am trying to replicate a Ged check-in in Visual Studio + VSO + Git.
In fact, I would like to run Unit Tests before the code is bound to a local repo or clicked on a remote one.
But I ran into a problem - in VSO + Git there is no Gated check-in function.
I tried setting up git hooks - the pre-commit hook will work for me, but the Visual Studio git provider does not support git hooks! Thanks to libgit2 -it, it is used in Visual Studio and does not support hooks :(
So my question is, how can I automatically run NUnit tests before committing in Visual Studio 2013 + VSO + Git and not allow the loading of bad code into my repo?
Thanks!
git visual-studio nunit githooks vsts
V Lukashevych
source share