Azure Repository is a set of version control tools that we can use to manage our code. In case we are entirely new to version control, then version control enables us to track changes we make in our code over time. There is so much software that is available in the market to enable version control on our code. We can use the version control system to keep track of each change done by each developer, safely merge them, test the changes, and publish the change into production.
There are two types of version control in Azure Repos.
- Git: It is a distributed version control.
- Team Foundation Version Control: It is centralized version control.
Azure Repos Concepts
- Repository: A repository is a location for our code, which is managed by version control. It supports Git and TFVC so we can create multiple repositories in a single project and various branches for each repository.
- Branch: A branch is a lightweight reference that keeps a history of commits and provides a way to isolate changes for a feature or a bug fix from our master branch and other work.
- Branch policies: It is an essential part of the Git workflow. We use them to help protect the critical branches is our development, as the master.
- Pull and Clone: Create a complete local copy of an existing Git repo by cloning it. A pull command updates the code in our local repository with the code that is in the remote repository.
- Push and Commit: A commit is a group of change saved to our local repository. We can share these changes to the remote repository by pushing.
- Fork: A fork is a complete copy of a repository, including all file commits, and (optionally) branches.
- Git: Git is a distributed version control system. Our local copy of code is a complete version control repository that makes it easy to work offline or remotely.
- Notification: Using notification, we will receive an email whenever any changes occur to work items, code reviews, pull requests, source control files and builds.
- Projects: A project provides a place where a group of people can plan, track progress, and collaborate on building software solutions.
- Teams: A team corresponds to a selected set of project members. With teams, organizations can subcategorize work to better focus on all of the work they track within a project.
Import Repository From Github.
(If it is a private repository then provide the credentials) and the Name for your azure repo.
0 comments:
Post a Comment