Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Sync work when working with Git in Visual Studio 2013?

How does Git Sync button work in Visual Studio Team Explorer? What are the actual executed Git commands and their order?

like image 753
SoftwareFactor Avatar asked Mar 07 '14 13:03

SoftwareFactor


People also ask

What is the use of sync command in git?

git-sync is used for syncing a personal fork with the upstream repository the personal fork was created from. Syncing here means updating all the branches in the personal fork that are also present in the upstream repository.

What is the difference between sync and push in git?

Commit All and Push: same as Commit All, but pushes changes to the remote repository. Commit All and Sync: saves changes to local repository, pulls changes from the remote to sync with local changes, and then pushes changes to the remote repository.


1 Answers

It does the equivalent of a fetch + merge + push, which is the same as pull + push

like image 168
Guillaume Collic Avatar answered Oct 11 '22 18:10

Guillaume Collic