What does git sync do in VSCode

What commands are actually run when you Synchronise Changes in Visual Studio Code?

git sync in vscode

  • VS Code configuring Git Sync
  • Change Git Directory Setup VS Code
  • Can I undo (cmd-Z) a git checkout file in VSCode?
  • VSCode shortcut to cycle through changed (git) blocks in current file
  • vscode quick open “git checkout” shows no results
  • VS Code - Cygwin as Integrated Terminal
  • How to list local branches in Visual Studio Code?
  • How do the icons next to files in VS Code Git panel affect git ops?
  • One Solution collect form web for “What does git sync do in VSCode”

    From the VSCode online help:

    Given that your repository is connected to some remote and that your checked out branch has an upstream link to a branch in that remote, VS Code offers you useful actions to push, pull and sync that branch (the latter will run a pull command followed by a push command).

    It appears that if you run synchronize changes on a given branch, it will do the following:

    git pull origin someBranch
    git push origin someBranch
    
    Git Baby is a git and github fan, let's start git clone.