Home > Mobile >  Can I block a specific git tag from being pushed to remote in Azure Repos Git?
Can I block a specific git tag from being pushed to remote in Azure Repos Git?

Time:08-06

My team is using Azure DevOps as our Git server, and is having an issue where a specific unwanted tag keeps being pushed to the remote. We've set up client-side git hooks, and asked everyone on the team to opt in, but it's a large team and seemingly not everyone has done so, because the tag keeps periodically reappearing on the remote. Is there any way the server can be set up to block pushes which would create a specific unwanted tag?

CodePudding user response:

Is there any way the server can be set up to block pushes which would create a specific unwanted tag?

I am afraid there is no such way to achieve this at this moment.

The Azure devops Git repos currently do not support Git hooks, there is a much-requested user voice about it:

Add Git pre-receive hooks

And this request is already on the roadmap, I believe that I will meet with us in the near future, You can follow this thread for the latest information:

On Roadmap means that your feature suggestion has a broad community impact and will help improve the product experience. We've allocated time for it on our roadmap. We'll update you on the progress.

  • Related