× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2016-06-07T16:25:29Z  · tomconrad last modified 2018-03-15T22:00:54Z

git : Show conflict-resolution markers when Merging conflicting files from Git repos


customer request PM
Priority Minor
Complexity Unknown
Component App - Version Control - GIT
Version Future

Issue with ADS basic merge conflict : <<<<<<< HEAD", "=======" and ">>>>>>>" separators

ADS

When there is a conflict in merge between branches ADS displays a dialog as attached, but no standard conflict-resolution markers are added to the files in the branches. This makes it hard for users to edit the files and merge.

git tool

When there is a conflict in merge between branches users needs to manually fix the conflict and then perform the merge. The git tool will add standard conflict-resolution markers to the files that have conflicts, so users can open them manually and resolve those conflicts.

For e.g 

<<<<<<< HEAD:index.html
<div id="footer">contact : email.support@github.com</div>
=======
<div id="footer">
 please contact us at support@github.com
</div>
>>>>>>> iss53:index.html

This means the version in HEAD (your master branch, because that was what you had checked out when you ran your merge command) is the top part of that block (everything above the =======), while the version in your iss53 branch looks like everything in the bottom part. In order to resolve the conflict, you have to either choose one side or the other or merge the contents yourself.

Refer: https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging#Basic-Merge-Conflictshttps://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging#Basic-Merge-Conflicts

2 attachments

Issue #14466

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017