Git merge mangles source files -


i've run strange behavior git , wondering if has experience it. have 2 branches, stable , master, have merged after resolving conflicts. unfortunately, master branch (which should reflect of changes in stable) not compile due insertion of markup git. looks this:

>>>>>>> stable ======= 

duplicate code appear between markups, presumably differentiate between code in different branches.

ideas? thoughts? doinitwrong?

correct, mangling git's way of showing conflicts are. called 'conflict markers'. when resolving conflicts need remove characters go along , pick correct side keep (old vs new code).

once have resolved conflicts , removed characters/lines add , commit changes finish merging of branches.

here tutorial basic branching , merging , right git manual on resolving conflicts.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -