Thread (8 messages) flat view 8 messages, 3 authors, 2021-12-03

Merge conflict when lines next to each other are changed

From: Loic Fouray <hidden>
Date: 2021-12-01 09:30:20

Hi,

In a file, I have this 2 lines one below the other:

Repository: myvalue
Tag: 8.2.10

On my local branch i have updated repository myvalue.
On the upstream repo, they updated often the tag value (not updated of my side).

When i perform a merge from upstream to local branch, i have a conflit. 
It seems that it’s related to neighboring lines. 
Could you confirm that it ‘s a normal git operation?

Also, i need to automate this merge. Is It possible with git tools to avoid this conflict or to resolv this conflict automatically?

Thanks for tour help
Loïc 

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help