Merging changes and resolving conflicts

Sometimes, team members work on the same files at the same time, leading to conflicts. Let's see how to merge changes and resolve conflicts in this case:

  1. Create a text file called HelloWorld.txt and add it to your local repository. Push the file to the server, and update the file both on the server and in your local repository.
  2. If you try to push the HelloWorld.txt file that has been modified both locally and in the remote repository, you get an error message and the push fails:
  1. When looking in the output window, you get additional information:
  1. Click on the Pull link and you will get the remote ...

Get Learning ASP.NET Core 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.