Git Pull Causes a Merge
ReadOrListen
English - January 24, 2016 14:01 - 3 minutes - 2.77 MB - ★★★★★ - 1 ratingTechnology Education How To software developer coder learner laravel Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: Using Composer Without GitIgnoring Vendor/
Next Episode: Feature Flags In Laravel
Author: Lorna Jane Mitchell
Read By: Lorna Jane Mitchell
Original Source: http://www.lornajane.net/posts/2015/git-pull-causes-a-merge
If you type git pull and expect a fast-forward update, but get a merge instead, don't panic! This usually happens when we're collaborating on a branch with other people, and we've made changes on our local version of a branch, and someone else (or the other you, if you use git to sync between multiple dev platforms) has made changes to the remote version of a branch in the meantime. It also happens really frequently in teams where all commits are to the master branch ... yet another reason to have a decent branching strategy.