i am learning git i have the tried the following example :
in the master branch i created a file 1.txt that has one line hi
then i switched to a new branch "mybranch" and edited the same line to this hello
instead of hi
when i get back to the master branch and run a git merge command git merge mybranch
its doesn't detect that it's a conflict that i should resolve instead it replace the word hi with hello
essentially it replaces some code in master branch without letting me know
my questions is why didn't git consider that to be a conflict even tho the bitbucket website says
question from:https://stackoverflow.com/questions/65644717/git-does-not-detect-a-conflict-in-code-on-same-lineA conflict arises when two separate branches have made edits to the same line in a file