I have a master branch where I took 2 branches and each contain a new function added in the same file at same line
function test1() {
console.log("test")
}
function test2() {
console.log("test")
}
and now when merging the 2 changes git will say there is conflict in the name of the function
and I want git 2 add the 2 function above each other like this: needed example
but what actually happens when I try to take the 2 changes: what happens when merging