[TYPO3-v4] Git: what to do when a branch "diverges"?

Steffen Kamper info at sk-typo3.de
Tue Mar 8 09:56:56 CET 2011


Hi,

i think this short description makes it more clear:

In the simplest terms, "git pull" does a "git fetch" followed by a "git 
merge".

You can do a "git fetch" at any time to update your local copy of a 
remote branch. This operation never changes any of your own branches and 
is safe to do without changing your working copy. I have even heard of 
people running "git fetch" periodically in a cron job in the background 
(although I wouldn't recommend doing this).

A "git pull" is what you would do to bring your repository up to date 
with a remote repository.

vg Steffen


More information about the TYPO3-project-v4 mailing list