Azure DevOps Repos
Azure DevOps repos are a set of repositories that allow you to version control and manage your project code. It helps to work and coordinate code changes across your team. It will allow you to monitor code, solutions, builds, commits, pushes, PR’s (Pull requests) and branching information about projects. You can connect project solutions by using the Repos link as shown in the below steps.
Files
In Files, your project solutions will be available in this section. Repositories can create, manage, and import the solutions. Now we’ll see how to upload new solutions in Azure DevOps repos.
Agenda
- Creating New Project in Visual Studio 2017
- Steps to push code from local to azure DevOps repos.
Now create new project in Visual Studio 2017.
Now select default MVC default template and click on OK.
Once your project is created, build and run in local by using Visual Studio. Make sure your project has zero build errors and warnings.
Right click on solution and click on Add solution to source control. Now go to your Azure devops portal and Azure repo files.
Commands
- git remote add origin https://NewOraganization@dev.azure.com/NewOraganization/NewProjectinAgile/_git/NewProjectinAgile
- git push -u origin --all
Now go to Visual Studio and open package manager console and paste above command lines one by one. Then local repository code will be pushed to Azure repo files.
Commits
In commits section we can manage commits history for your repositories with authors details from branches.
Pushes
Push histories are available in this section from each Pull requests done by the developers.
Branches
We can manage multiple branching information in this section. You can create your release branches from master to Dev, QA & Prod environments and also users (employees) branching information available in this section.
Tags
Tags are used to point out specific commits, like giving message tags and data information to branches. You can create your naming conventions to branches by using commit tags.
Happy coding.....