How can we improve Visual Studio Team Services (VSTS)?

Add server-side git hooks

Please add server-side git hooks. Github has this feature and it is extremely useful.

More info here: http://git-scm.com/book/en/Customizing-Git-Git-Hooks#Server-Side-Hooks

409 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Chris Betz shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    closed  ·  AdminVSTS Team (Product group, Microsoft Visual Studio) responded  · 

    We have added the Pull Request status API: https://docs.microsoft.com/en-us/vsts/git/branch-policies#require-approval-from-external-services

    This API allows you to block commits from ending up in shipping branches. With the push (https://docs.microsoft.com/en-us/vsts/service-hooks/events#git.push) and PR (https://docs.microsoft.com/en-us/vsts/service-hooks/events#git.pullrequest.created) service hooks, we now offer a full, asynchronous way to plug into the PR pipeline.

    We are considering adding native pre-receive hooks to reject certain commits on push. If those are important to you, or you want to see particular ones, please vote/comment on them here: https://visualstudio.uservoice.com/forums/330519/suggestions/32584894

    23 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      ← Previous 1

      Feedback and Knowledge Base