What is Azure DevOps Repository?
Azure DevOps is a suite of tools and services provided by Microsoft to help teams manage software development projects. One of the key components of Azure DevOps is the Azure DevOps Repositories, which is a version control system (VCS) that allows teams to collaborate on code and manage changes to their source code over time.
Azure DevOps Repositories support Git, the popular distributed version control system, as well as Team Foundation Version Control (TFVC), a centralized version control system. With Azure DevOps Repositories, teams can create and manage Git or TFVC repositories, collaborate on code with pull requests and code reviews, and use various features to track and manage changes to their code.
Azure DevOps Repositories also offer integration with other Azure DevOps services, such as Azure Boards for work item tracking and Azure Pipelines for continuous integration and delivery (CI/CD). This integration allows teams to manage their entire software development process in a single, unified environment, making it easier to collaborate, track progress, and deliver high-quality software.
What are the two types of version control in azure repos?
The two types of version control in Azure Repos are Git and Team Foundation Version Control (TFVC).
Git is a distributed version control system that allows users to work with a local copy of a repository, making it easier to work offline and make local changes. Git allows developers to track different versions of their code, collaborate on changes, and merge changes from different team members. Git also allows for branching, which is the creation of a new line of development from the main codebase, allowing developers to work on new features without disrupting the main codebase.
TFVC, on the other hand, is a centralized version control system that requires a connection to a central server to access the code repository. With TFVC, developers check out a file before making changes to it, and then check it back in once their changes are complete. TFVC also allows for branching, but it operates differently from Git.
In summary, Git is a distributed version control system that allows users to work locally and provides a flexible and powerful way to manage code changes, while TFVC is a centralized version control system that requires a connection to a central server and operates on a check-in/check-out model.