Syncing changes between local and remote repositories

The Git extension for Visual Studio 2017 allows you to easily sync changes between a local repository and a remote repository. If it finds any remote changes, it will first download those and merge with the changes available in the local repository. If it finds any merge conflict, it will immediately stop processing and ask you to resolve them first. Later, it will push all your changes to the remote repository.

To invoke a single sync operation, open the Team Explorer window and navigate to the Sync view, which may have outgoing commits ready to push:

You can also perform the steps individually, rather than performing both the inbound and outbound operations in a single shot. Push will commit your local changes to remote, Fetch will download the remote changes but won't merge, whereas the Pull command will download the remote changes and proceed to merge the changes. Let's discuss them one by one.

..................Content has been hidden....................

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