1 min to read
GIT Merge Strategy Options
GIT Merge Strategy Options with Examples
Git Merge Strategies
A merge happens when combining two branches. Git will take two (or more) commit pointers and attempt to find a common base commit between them.
Git has several different methods to find a base commit, these methods are called "merge strategies".
Once Git finds a common base commit it will create a new "merge commit" that combines the changes of the specified merge commits. Technically, a merge commit is a regular commit which just happens to have two parent commits.