Answer the question
In order to leave comments, you need to log in
How in GIT to resolve the conflict in the same lines so that changes from different branches go one after another?
I do not understand how to resolve the conflict in this case.
I have a develop branch with an index.html file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div class="feature1">
<div class="feauture1-content"></div>
<div class="feauture1-content"></div>
<div class="feauture1-content"></div>
<div class="feauture1-content"></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div class="feature2">
<div class="feature2 another content"></div>
<div class="feature2 another content"></div>
<div class="feature2 another content"></div>
<div class="feature2 another content"></div>
<div class="feature2 another content"></div>
<div class="feature2 another content"></div>
</div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
This is not a Git issue. This is a problem of either the editor with which you resolve the conflict, or the curvature of the hands. The easiest way: edit in your favorite IDE, and business.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question