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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Mar 8 11:39:02 CET 2011


Peter Niederlag schrieb am 08.03.2011 10:31:
> hello,
> 
> Am 08.03.2011 09:32, schrieb Steffen Kamper:
>> Hi,
> [...]
>> pull does a fetch + commit
> 
> sry, wrong...
> 
> pull does fetch and
> + merge (by default, NOT SUGGESTED!!!)
> + rebase ( by --rebase or by .git/config -> which is suggested setup!!!)
> 
> -----------------------------------------------------------------
> _fetch_ is "get all known objects from remote"
> 
> _merge_ is "combine two(or more) different line sof development"
> _rebase_ is "put aside commits the other one doesn't have, update, and
> reapply the commits"
> 
> _cherry-pick_ is "get one(!) commit and apply it soemwhere else"
> -----------------------------------------------------------------

This is obvious some wiki-worth material! ;)

Thanks Peter!

Cheers,
Ernesto



More information about the TYPO3-project-v4 mailing list