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
0
votes
1 answer

Why is the Azure repo branch defaulting to main instead of master?

I have created a new repository in azure repos and the branch name is defaulting as "main", whereas my expectation is it should have been master. Please explain if someone knows the reason.
priya
  • 391
  • 1
  • 5
  • 24
0
votes
1 answer

Are the Azure DevOps extension for Slack affected by changing the slack workspace url?

In the company, we will change the slack workspace URL from https://oldname.slack.com to https://newname.slack.com. We have a lot of connections from Azure DevOps online service to Slack using two approaches. Older links via service hooks in Azure…
0
votes
1 answer

Getting no email if I am an automatically added reviewer

In Azure DevOps Repos we are using branch protection and the "Include Automatically Code Reviewers" policy. As automatic reviewer we have created an Azure DevOps team to list all the possible reviewers. If now a PR is created then this team is added…
Marko
  • 929
  • 9
  • 27
0
votes
1 answer

Update file encoding in a Git repo with Azure DevOps REST API

There is a Pushes client in Azure DevOps REST API that allows to create pushes with new commits. I followed examples provided in here however there isn't one where a file encoding is to be changed. I tried to provide the necessary encoding in a…
Nick
  • 1
  • 1
0
votes
1 answer

Can I connect GitExtension to Azure GIT repo

I am used to working with GitExtension for connecting and working(pull/push) with GIT repository hosted on-premise. My company is planning to create an Azure GIT Repo for hosting the code. Will my local installation of GitExtension be able to…
CleanBold
  • 1,551
  • 1
  • 14
  • 37
0
votes
1 answer

Interactive password support for Ansible clone of Azure Repository

What specific syntax needs to be used to get Ansible to clone a git repository from Azure Repositories? The repository URL is https://OrganizationName@dev.azure.com/OrganizationName/ProjectName/_git/RepositoryName and we are able to clone it…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
0
votes
1 answer

Azure Cross Repo Policies overrule repo local policies?

I am wondering what happens if for the same branch thee are repository locally defined branch policies but also cross repo policies. What policy is then applied? Thank you
Marko
  • 929
  • 9
  • 27
0
votes
1 answer

Branch Policies in Azure DevOps

I want to add 3 reviewers for my code to merge from dev branch to master branch but I want it so that if 1 of the 3 reviewers approve the merge then my branches can merge. Is this something that is possible?
weewoo
  • 135
  • 1
  • 5
  • 10
0
votes
2 answers

Export git history of all files in a specific folder in Azure Repos for a specific date range

Salesforce Folder structure as below containing numerous classes and meta xml's: Project --src --classes -- Class A -- Class A-Meta.xml -- Class B -- Class B-Meta.xml -- Class N Problem statement: For each…
B.T Anand
  • 549
  • 1
  • 13
  • 26
0
votes
1 answer

How to organise development lifecycle with TFVC

We're working on a system where we're going to be making a lot of changes over the next year or so. We use Azure DevOps with TFVC. Our plan is to develop, test internally, release into a staging environment for the client to test internally, and…
wizzardmr42
  • 1,634
  • 12
  • 22
0
votes
2 answers

Can i add a reader without license to Devops repos?

We use devops boards and repos and we currently have a consultant for a framework we use. I'd like for this repo to be shared with read access only if possible. E.g. he should be able to clone / update the repo but not much else. This consultant…
sommmen
  • 6,570
  • 2
  • 30
  • 51
0
votes
1 answer

Auto copy in azure repo from bitbucket repo

Is it possible to make automatic synchronization of repositories, for example through pipline? I have 5 repositories Azure DevOps Which should be exactly the same as in Bitbucket (work in Bitbucket)
0
votes
2 answers

How to push to coworker's branch in Azure Repos

We use Azure Repos as source control in our project. A developer has created a branch named "testBranch" and gave access to the team so everyone can push to that branch. What are the correct git commands for team members to push their changes to…
L_A_Hooper
  • 81
  • 1
  • 9
0
votes
2 answers

How to get Azure devops git repo folder name where user committed changes using powershell (Azure devops REST API)

I am working on script where I want to find out name of folder where user committed changes $AzureDevOpsPAT = "" $OrganizationName = "" $AzureDevOpsAuthenicationHeader = @{Authorization = 'Basic ' +…
0
votes
1 answer

Azure DevOps - Pull Request Workflow and Deployments

I'm a bit confused with how to set this workflow up using pull requests. I have in place an existing multi-stage YAML build pipeline that in summary does the following: Runs a build from any branch Runs a deployment job to a Development…
John Joseph
  • 921
  • 5
  • 14