Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly is a content level merge?

Tags:

git

merge

svn

What is exactly is a content level merge?

I've heard this term used a couple times in git discussions.

like image 520
Zambi TheGreat Avatar asked Sep 27 '11 23:09

Zambi TheGreat


People also ask

What are the 3 types of merge?

The three main types of merger are horizontal mergers which increase market share, vertical mergers which exploit existing synergies and concentric mergers which expand the product offering.

What are the two types of merging?

A horizontal merger is when competing companies merge—companies that sell the same products or services. The T-Mobile and Sprint merger is an example of a horizontal merger. Meanwhile, a vertical merger is a merger of companies with different products, such as the AT&T and Time Warner combination.

What are the 5 types of mergers?

There are five commonly-referred to types of business combinations known as mergers: conglomerate merger, horizontal merger, market extension merger, vertical merger and product extension merger.


1 Answers

A merge between two branches where a different set of files has been changed in each branch is a simple (or "trivial") merge. Git doesn't need to look inside the files to see what to do - it just takes the latest of each.

However, if both merge parents change the same file, then Git must look inside the file to see how to apply both changes. This is a "content level merge". The results may be applied automatically if there is no conflict, or may require manual resolution.

like image 199
Greg Hewgill Avatar answered Oct 01 '22 12:10

Greg Hewgill