Exploring Source Controls in Visual Studio 2019

A Source Code Control System (SCCS) is a component of a source repository and version management system. If you are building enterprise-level applications in a distributed environment, you will want to keep your source code in a safe vault with easy-to-manage, easy-to-integrate, and easy-to-create versions of each check-in. A source control repository will help you to manage your code.

There are plenty of source control repositories on the market. Some of the most common repositories are Git, TFS, and SVN. Here's a small representation of how an SCCS works:

In general, repositories are hosted in on-premise environments or in cloud-hosted environments such as Microsoft Azure DevOps, Team Foundation Server, GitHub, and BitBucket. Developers connect to the remote repository and clone the code changes to their system in order to start coding. When the changes are complete and well tested, they push those changes to the remote repository.

In this chapter, we are going to learn about the following core points in order to use a source control repository such as Git in a Visual Studio 2019 environment:

  • Installing Git for Visual Studio 2019
  • Connecting to the source control servers
  • Getting started with Git repositories
  • Working with Git branches
  • Working with changes, staging, and commits
  • Syncing changes between local and remote repositories
  • Working with pull requests for code review
  • Working with Git commit history
  • Undoing your changes
  • Tagging your commits
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.207.129