Share your changes
When you're ready to share your changes with the team, push those changes so that others can reach them. You can only push changes after you add commits to a branch.
Once you push the changes, you can create a pull request. A pull request lets others know you'd like to have the changes reviewed. After approval, a pull request adds your changes to the master branch of the code.
1.In Team Explorer, select Home and then choose Sync to open Synchronization.
You can also go to the Synchronization view from Changes by choosing Sync immediately after making a commit.
2.Select Push to share your commit with the remote repository.
If this push is your first to the repository, you'll see the following message: The current branch does not track a remote branch. Push your changes to a new branch on the origin remote and set the upstream branch.
Select Push to push your changes to a new branch on the remote repository and set the upstream branch. The next time you push changes, you'll see the list of commits.
3.Create a pull request so that others can review your changes. Open Pull Requests in Team Explorer by selecting Home and choosing Pull Requests.
4.In Pull Requests, you can view pull requests opened by you, assigned to you, and you can create new pull requests. Select New Pull Request to open a web browser where you can create the new pull request in the Azure Repos web portal.
5.Verify your branches. In this example, we want to merge the commits from the ReadMeFix
branch into the master
branch. Enter a title and optional description, specify any reviewers, optionally associate any work items, and then select Create.