{% extends "webui/collections/base.html" %} {% block title %}MERGE | {{ collection.id }}{% endblock %} {% block breadcrumbs %}{{ block.super }}
  • {{ collection.id }}
  • MERGE
  • {% endblock breadcrumbs %} {% block content %}

    {{ filename }}

    {% csrf_token %} {{ form.as_p }}

    Help / Troubleshooting

    Conflicted files contain one or more sections that look something like this:

        ...
        {
    <<<<<<< HEAD
            "description": "This is one description of the collection."
        },
        {
            "notes": "These notes were written by one person."
    =======
            "description": "This is an alternate description of the collection."
        },
        {
            "notes": "These notes were written by someone else."
    >>>>>>> iss53
        },
        ...
    

    The text between <<<<<<< HEAD and ======= represents one version, and the text between ======= and >>>>>>> iss53 represents another (Note: the iss53 is an auto-generated marker; you will see other text in its place). In order to resolve the conflict, you have to either choose one side or the other or merge the contents yourself.

    For instance, you might resolve this conflict by choosing the first block like this:

        ...
        {
            "description": "This is one description of the collection."
        },
        {
            "notes": "These notes were written by one person."
        },
        ...
    

    Or you might resolve this conflict by replacing the entire block with a little of each section:

        ...
        {
            "description": "This is a combination of two descriptions of the collection."
        },
        {
            "notes": "These notes were collaboratively written by two people."
        },
        ...
    

    In each case the <<<<<<<, =======, and >>>>>>> lines have been fully removed.

    After you’ve resolved each of these sections in each conflicted file, click "Submit" to mark it as resolved.

    [Note: these instructions were adapted from Section 3.2 of the Pro Git book by Scott Chacon.]

    {% endblock content %}