Merge
                         vs
                       Rebase
                       by cs3b, the Lumberjack




Tuesday, April 2, 13
http://chuva-inc.com/sites/default/files/blog_posts/356merge-conflicts.jpg

Tuesday, April 2, 13
http://assets.diylol.com/hfs/9e8/173/858/resized/obama-git-meme-generator-git-rebase-no-conflicts-6c0bee.jpg?1345812920.jpg

Tuesday, April 2, 13
http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/


Tuesday, April 2, 13
Git




                       http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/


Tuesday, April 2, 13
http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/


Tuesday, April 2, 13
http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/


Tuesday, April 2, 13
http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/


Tuesday, April 2, 13
http://learningtoteachscience.files.wordpress.com/2011/12/31.gif


Tuesday, April 2, 13
git pull




                       http://learningtoteachscience.files.wordpress.com/2011/12/31.gif


Tuesday, April 2, 13
git pull




                       http://stevenharman.net/images/posts/y-u-no-rebase-preview.jpg

Tuesday, April 2, 13
git pull --rebase




                          http://johnmdonahue.com/images/rebase-no-conflict.jpg

Tuesday, April 2, 13
git pull --rebase




Tuesday, April 2, 13
git pull --rebase



                        git config 
                       --global 




Tuesday, April 2, 13
git pull --rebase



                        git config 
                       --global 
                       --bool pull.rebase true




Tuesday, April 2, 13
git pull --rebase



                        git config 
                       --global 
                       --bool pull.rebase true




Tuesday, April 2, 13
http://sd.keepcalm-o-matic.co.uk/i/keep-calm-and-git-rebase.png


Tuesday, April 2, 13
git local rebase




                         http://sd.keepcalm-o-matic.co.uk/i/keep-calm-and-git-rebase.png


Tuesday, April 2, 13
git rebase -i @{u}




                           http://rypress.com/tutorials/git/media/5-5.png

Tuesday, April 2, 13
why git local rebase




Tuesday, April 2, 13
why git local rebase

                        squashing related commits




Tuesday, April 2, 13
why git local rebase

                        squashing related commits
                        rewording commit messages




Tuesday, April 2, 13
why git local rebase

                        squashing related commits
                        rewording commit messages
                        easier git pull --rebase




Tuesday, April 2, 13
http://cdn.memegenerator.net/instances/400x/23215407.jpg

Tuesday, April 2, 13
http://rypress.com/tutorials/git/media/5-1.png

Tuesday, April 2, 13
Merge
                   instead of
                     rebase
                     when?


                          http://rypress.com/tutorials/git/media/5-1.png

Tuesday, April 2, 13
merge object




Tuesday, April 2, 13
merge object




Tuesday, April 2, 13
merge object




                  git merge --no-ff feature




Tuesday, April 2, 13
merge object




                         http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
merge object
                       where come from




                              http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
merge object
                       where come from
                       when were merge




                              http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
merge object
                       where come from
                       when were merge
                       and by whom were merged
                       e.g code review




                              http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
merge object
                       where come from
                       when were merge
                       and by whom were merged
                       e.g code review
                       commits related are grouped
                       together

                               http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
merge object




                       http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
merge object

                       where from is irrelevant




                           http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
merge object

                       where from is irrelevant
                       when and who are already in
                       commit timestamp




                           http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
merge object

                       where from is irrelevant
                       when and who are already in
                       commit timestamp
                       there is nothing to grouped
                       together


                           http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
merge object


                       git cherry-pick feature




                             http://en.wikipedia.org/wiki/File:Yes_check.svg

Tuesday, April 2, 13
http://rypress.com/tutorials/git/media/5-1.png
                       http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
one more
        don’t try this
           at home



                                             http://rypress.com/tutorials/git/media/5-1.png
                       http://2.bp.blogspot.com/-dWAyVooVf8E/T3ib0pcyMvI/AAAAAAAAAI4/IcIQbEwsn8A/s1600/no.png

Tuesday, April 2, 13
git push --force




                           http://anongallery.org/8156/

Tuesday, April 2, 13
http://cdn.memegenerator.net/instances/250x250/34108963.jpg

Tuesday, April 2, 13
http://cdn.memegenerator.net/instances/400x/24192455.jpg

Tuesday, April 2, 13

Git - merge vs rebase [mikstura.it #4]