Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Git terminology

From: Sébastien Pierre <hidden>
Date: 2016-06-15 22:42:22

On Wed, 29 Mar 2006 07:59:16 -0800
Junio C Hamano [off-list ref] wrote:
 
Probably we can just say "ref" where we say "refname".

A fast-forward is where you have a revision and you are
"merging" other's change that happen to be a descendant what you
have.  In such a case, you do not make a new merge commit but
just update to his revision.  That is:

          o---o---o---o his               o---o---o---o his
         /                      ->       /             \
    o---o---o---o yours             o---o---o---o-------* yours

updating to his needs a merge like above, but in this case:

          o---o---o---o his               o---o---o---o his = yours
         /                      ->       /
    o---o yours                     o---o

you just update to his.
Ah, ok. The diagrams are really helpful to get what "fast forward" is.

Thanks !

 -- Sébastien
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help