Questions tagged [azure-repos]

Azure Repos is the version control repository for Azure DevOps (previously VSTS) using either TFVC or Git.

Azure Repos is the version control repository for Azure DevOps (previously Visual Studio Team Services, VSTS) using either TFVC or Git.

380 questions
7
votes
1 answer

Azure DevOps prevent push to master but allow PR merge

My understanding is that branch policies allow us to prevent push to master but allow PR. But I could not find a policy or security settings on Azure DevOps that allow me to do this. What am I missing?
Blue Clouds
  • 7,295
  • 4
  • 71
  • 112
7
votes
2 answers

Create template git-repo in in azure devops

I have a git-repo in Azure DevOps that I want to use as a template for starting new repos, but without the commit history of the original. GitHub has this nice feature, however I can't find a good approach in DevOps. Is the only way to clone it,…
mtcarsalot
  • 301
  • 2
  • 8
6
votes
0 answers

azure devops - get a link to a specific line in a Diff or PR

similar to this question but different. given a Diff or a PR in Azure Devops, I'd like to get a URL to a specific line (or range). that way I can send the URL to other people !
orion elenzil
  • 4,484
  • 3
  • 37
  • 49
6
votes
2 answers

Azure DevOps Permission to disable "Delete branch" option

I have created Coders User group with object level permission. Group is given Contributor permission for the project. When it comes to specific repository, I have applied object level permission- Like unable to delete a branch. When I verified it,…
Asterix
  • 331
  • 6
  • 22
6
votes
3 answers

Add condition on stage to check the changes on folder

I have both server side (web api using c#) and client side (angular) code in same branch. I have created separate stage for both server side and client side code to build, and one more stage to deploy. If I check in code in either of client side or…
Ang_Dev
  • 342
  • 1
  • 3
  • 17
6
votes
2 answers

How to remove merged feature branches in Azure DevOps?

We used to delete feature branches in pull requests automatically. But then we needed to add branch policy to feature branches and Azure DevOps says "Cannot delete a branch which has policies". Is there a way to delete all merged feature branches…
Lassi Autio
  • 1,147
  • 1
  • 13
  • 35
6
votes
1 answer

Is it possible to have a Azure Pipeline modify a README.md on commit?

I'm trying to automatically generate and update documentation for my code in an Azure DevOps Repo. I've configured a pipeline to run a python script upon commit to the master branch. This script pulls the relevant information out from the files in…
Ryan
  • 101
  • 1
  • 6
6
votes
1 answer

How to setup Azure DevOps Repo Read Only Access

Objective: Allow different clients access to only read/pull from my private repo. Overview: Listed are the different options that I am aware of: I could invite the clients and give them access to the Basic access level but do know what to have to…
MATTHEW
  • 131
  • 1
  • 3
  • 7
6
votes
3 answers

remove a required reviewer from Azure Devops

We have a gentleman who is no longer actively working on a project. The problem is he is a required reviewer on our Pull Requests. I have not been able to find a way to remove him, and we cannot complete our pull requests. I have spent several hours…
Joe Ruder
  • 2,122
  • 2
  • 23
  • 52
6
votes
1 answer

Azure DevOps in Git what do blue and gray dot mean in graph

Azure DevOps in Git what do blue and gray dot mean in graph as code branches and merges. Can any one share link which explains all this.
kumar
  • 8,207
  • 20
  • 85
  • 176
5
votes
1 answer

How to integrate Vercel with Azure Repos?

I am considering using Vercel for my front-end architecture but at the moment my codebase is hosted in Azure Repos. Is there a way to integrate Azure Repos with Vercel?
Jonathan Dsouza
  • 568
  • 1
  • 5
  • 17
5
votes
1 answer

Azure Pipeline: Read values from json file in the repo and store it in pipeline variable (without powershell)

I have an azure repo that triggers an azure pipeline on every commit to any branch. on this repo there is a json file file.json. With sample content: { "key1": "value1", "key2": "value2" } how can i read values from this json file in the…
DaveVentura
  • 612
  • 5
  • 19
5
votes
2 answers

404 - Page not found when accessing repos with Azure

I was able to log into my Organization's Azure Dashboard and the only thing that is missing on the left side bar is the repos.
jencwong
  • 55
  • 1
  • 5
5
votes
2 answers

Azure DevOps Repos synchronization between Organization

We have two Azure DevOps Organizations, 1. Development 2. Client I would like to know if we can synchronize Azure DevOps Repos from one organization (Development) to different organization (Client) in a secure way? If it is possible, what would be…
praveen krish
  • 135
  • 2
  • 11
5
votes
2 answers

How to get PR title and description from agents

Is it possible to get PR title and PR description in pipeline? The idea is to notify team which task has been deployed. Allfeature need to be tested go to branch "development" I tried intergrate Ms Teams, subscribe pipeline, but none of the…
Phuc Vuong
  • 183
  • 2
  • 12
1
2
3
25 26