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.

212 questions
14
votes
1 answer

Server-side custom git merge driver on GitHub/Azure Repos

I have a custom merge driver for git that helps merge lockfiles in a large monorepo shared by hundreds of engineers. Because lockfiles churn quite frequently, it's not uncommon for these files to result in merge conflicts while a PR is being…
Sachin Joseph
  • 15,841
  • 3
  • 36
  • 54
13
votes
2 answers

How to use Git LFS with Azure Repos and Pipelines

I have a project using Git LFS in Azure Repos with several binary image files being checked in using Git LFS. When my Azure Pipelines build performs a git pull, the image files are not pulled from Git LFS and I am left with several zero byte image…
Muhammad Rehan Saeed
  • 28,236
  • 27
  • 169
  • 261
12
votes
1 answer

Azure DevOps - organizing projects and repositories

(Posting the question here as this is the 'community' that Microsoft redirects to with a 'Need advice? Ask community' button. Hope it won't get closed as 'primarily opinion based' or 'too broad') Hello, I want to start using AzureDevops in my…
Bartosz
  • 3,013
  • 3
  • 27
  • 61
12
votes
2 answers

Force a branch naming convention in Azure DevOps Git

We use Git hosted in Azure DevOps for all of our source code. So far we have used Git Hooks to ensure that team members follow a branch naming convention {branchtype}/{username}/{friendlyname}/{workitemtype}{workitemid}. Examples:…
dparkar
  • 1,712
  • 19
  • 44
12
votes
3 answers

Can I set default security and/or branch policies in Azure DevOps?

We're using Visual Studio Team Services for our git server. Each Azure DevOps Project hosts one or many git repos. We have the convention of keeping master and develop branches locked-down, but letting other branches remain unrestricted. I'd like…
STW
  • 40,454
  • 16
  • 100
  • 153
8
votes
1 answer

Cross-repo branch policy build validation - how to?

So, Azure DevOps UI now supports setting up cross-repo policies to protect the default (master) branch for all existing and future repositories - nice! Up until now we have used the same policy for each repository, manually setting it up whenever a…
Casper
  • 467
  • 3
  • 17
6
votes
1 answer

How to display the build status in pull requests in Azure DevOps

I would like to display the status of pipeline builds in Azure Pipelines in corresponding pull requests in Azure DevOps Repos. I'd like to have some indicator which shows that a build succeeded of failed, like this (Note that this is a screenshot…
Alex
  • 351
  • 4
  • 15
5
votes
2 answers

Unsupported compression, Azure git push over SSH?

I am trying to push a new branch to azure repo which fails. Get an error that the compression method isn't supported. Tried googling for the error but my search didn't display anything that looked as the same problem. PS C:\dev\vh> git push…
duxck
  • 93
  • 6
5
votes
1 answer

Visual Studio 2019: how to save your project to Azure DevOps?

I am new to Visual Studio and Azure DevOps. I have created an ASP.NET and C# project on Visual Studio, and now I want to save it to an Azure DevOps repo. This repo exists and I have access to it. How to save this project to that repo from within…
Zizzipupp
  • 993
  • 6
  • 14
4
votes
1 answer

Automatically add a git tag after a pull request is accepted

We are following the gitflow workflow with support versions and we are also using PR (feature -> develop [squash], hotfix -> support/x.x, hotfix -> develop, release/x.x -> master) The problem is that pull requests for releases are not strictly…
Christophe Blin
  • 1,139
  • 1
  • 9
  • 30
4
votes
1 answer

How to setup submodules Azure DevOps

Can somebody clarify how SubModule works in azure devops MyDevOps Root Folder I have a Solution called MyCore.sln containing 4-5 projects I have my Main Solution called MyMain.sln containing another 4-5 projects project referencing MyCore.sln…
developer9969
  • 2,965
  • 3
  • 26
  • 58
3
votes
2 answers

Programmatically set default branch name for new Azure repositories

With recent changes introduced in Azure repositories the default branch name will be changed to "main" instead of "master". However Microsoft provided a feature to set the default branch name for the repositories which will be created in the…
Shehan Weerasooriya
  • 456
  • 2
  • 4
  • 17
3
votes
1 answer

Adding multiple commands under scripts stage in Azure YAML pipeline

I need to execute following commands in the project repo to a do a build echo Building Software/linux_framework source /opt/pkg/linux/settings.sh cd Software/linux_framework make images HARDWARE=../my_xsa/ BOARD=local Snippet from my YAML…
h1990
  • 69
  • 5
3
votes
0 answers

Finding trunk commits not ending on master - Trunk based development with Azure repos

I have an implementation of Trunk Based Development in Azure Repos as follows: Development on short live feature branch - multiple commits PR to trunk - merge squash, delete feature branch Cherry pick from trunk to release - Azure Repos does a new…
hakamairi
  • 4,094
  • 4
  • 24
  • 45
3
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
  • 1,880
  • 1
  • 17
  • 38
1
2 3
14 15