Demystifying Azure DevOps Services by Ashish Raj
Author:Ashish Raj [Raj, Ashish]
Language: eng
Format: epub
ISBN: 9789389898682
Publisher: BPB Publications
Published: 2021-08-15T00:00:00+00:00
Figure 5.3: Git process flow
Git repository can be created locally using git init command, then a remote server can be added using git remote command, and locally created repository can be pushed to a server using git push. A Git repository can also be created on a central server; they can be cloned using git clone command on the local computer for making file changes, and push back the changes using git push. The latter practice is more common, and we will be following the same in Azure Repos during our demonstration.
After cloning the repository from a server, a developer makes changes into files and then stages these files in staging area, using git add command. Once files with changes are staged, the Git commit command is used to commit these files to the local repository. When changes on the local repository are committed, then git push command is used to push these changes to the server repository. The git pull command is used to get the changes pushed by other developers on the server. Figure 5.3 demonstrates this process flow in brief.
Azure Repos also offers other features to make use of some of the best practices while working with the git repository. We will explore such features in the upcoming sections.
When you create a project in Azure DevOps, you will be prompted to select the version control for the default repository that gets created as part of project creation. As discussed, Azure Repos supports two types of the version control system, and it asks you to select one of them which are: Git or TFVC. We have already demonstrated this during Project creation in Chapter 3. We selected Git for our project BookApp. To view repositories in the project, you can click on Azure Repos, as shown in the following figure 5.4:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7806)
Grails in Action by Glen Smith Peter Ledbrook(7719)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6800)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6795)
Running Windows Containers on AWS by Marcio Morales(6316)
Kotlin in Action by Dmitry Jemerov(5089)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5044)
Combating Crime on the Dark Web by Nearchos Nearchou(4619)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4570)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4437)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4310)
The Age of Surveillance Capitalism by Shoshana Zuboff(3977)
Python for Security and Networking - Third Edition by José Manuel Ortega(3872)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3531)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3528)
Learn Wireshark by Lisa Bock(3488)
Mastering Python for Networking and Security by José Manuel Ortega(3376)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3353)
Blockchain Basics by Daniel Drescher(3322)
