How does Git Sync button work in Visual Studio Team Explorer? What are the actual executed Git commands and their order?
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.
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.
It does the equivalent of a fetch
+ merge
+ push
, which is the same as pull
+ push
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With