27

I am comming from a SVN environment and I am exploring Git with TortoiseGit.

When I right-click a 'checked-out' Git repository, I can perform a Git Sync command, but also a Pull command.

What is the difference between those two functions precisely?

Mark Lakata
  • 19,989
  • 5
  • 106
  • 123
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453

2 Answers2

24

TortoiseGit Sync Dialog can perform multiple synchronization operations in one dialog, including

  • pull (or fetch or ...)
  • push
  • submodule update

"Sync" is not a Git concept, it is unique to TortoiseGit only!

TortoiseGit Pull Dialog only performs pull operations, but it has more advanced options for the users to choose.

Mark Lakata
  • 19,989
  • 5
  • 106
  • 123
linquize
  • 19,828
  • 10
  • 59
  • 83
  • 1
    I think sync is now part of git: -- https://git-scm.com/docs/git-submodule – Jess Aug 02 '17 at 13:24
  • Tortoise's "git sync..." dialog includes much more than just a submodule sync, which is what git's "sync" command is for. The dialog is a central control panel for selecting multiple operations all in one place. – Suncat2000 Feb 15 '18 at 13:17
9

I haven't TortoiseGit, but, from mind: Pull is unidirectional data-transfer (from remote to local), Sync (as it written) is bidirectional (pull+push) and publish local changes into remote

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110