Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps with Windows Server 2016

You're reading from   DevOps with Windows Server 2016 Obtain enterprise agility and continuous delivery by implementing DevOps with Windows Server 2016

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786468550
Length 558 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ritesh Modi Ritesh Modi
Author Profile Icon Ritesh Modi
Ritesh Modi
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introducing DevOps 2. DevOps Tools and Technologies FREE CHAPTER 3. DevOps Automation Primer 4. Nano, Containers, and Docker Primer 5. Building a Sample Application 6. Source Code Control 7. Configuration Management 8. Configuration Management and Operational Validation 9. Continuous Integration 10. Continuous Delivery and Deployment 11. Monitoring and Measuring

Managing a Git Repository using VSTS


After onboarding the OnlinePharmacy solution on the VSTS Git repository, it's time to work on it as a developer. A developer typically will push his/her code to the repository and pull code submitted by others as well. This involves merging code and solving any arising conflict resolution.

Submitting code changes to a Git repository

This section provides steps for some of the common tasks performed by developers on an ongoing basis while they are building an application and changing code frequently.

  1. Modify the OnlinePharmacy code in Visual Studio after opening the solution. In Figure 15, a sample modification is done to Details.cshtml file by adding a <h2> tag and some text along with it. Save the code changes.

    Figure 15: Modifying code

  2. From the Team Explorer home screen, click on the Changes button. It will navigate to the Changes screen, listing modifications to all files in the local repository. Since there is a single change in our case, the Details...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime