{
    "url": "https://delaparra-services.nl/knowledge-hub/git-merge",
    "locale": "en",
    "title": "git merge: Knowledge hub | DeLaParra Services",
    "description": "Combine the history of another branch into the current branch, creating a merge commit.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/git-merge",
        "nl": "https://delaparra-services.nl/nl/kennisbank/git-merge"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/git-merge.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/git-merge.md",
        "json": "https://delaparra-services.nl/knowledge-hub/git-merge.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/git-merge.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/git-merge.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge.csv",
            "encodingFormat": "text/csv",
            "name": "git-merge.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge.json",
            "encodingFormat": "application/json",
            "name": "git-merge.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge.md",
            "encodingFormat": "text/markdown",
            "name": "git-merge.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge.pdf",
            "encodingFormat": "application/pdf",
            "name": "git-merge.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge.zip",
            "encodingFormat": "application/zip",
            "name": "git-merge.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-merge/skills.zip",
            "encodingFormat": "application/zip",
            "name": "git-merge-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [git merge](<https://delaparra-services.nl/knowledge-hub/git-merge>)\n\n  \n\nCategory: Git commands \n\n# git merge\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is git merge?\n\n \n\ngit merge: Combine the history of another branch into the current branch, creating a merge commit. ` git merge ` combines another branch into your current branch. ` git merge feature/export ` brings the feature's commits into main, usually with a merge commit that joins the two lines of history. When both branches changed the same lines, Git stops with a conflict and marks the spots in the files. You decide what the result should be, stage the files and complete the merge.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about git merge\n\n  \n\n### What should you keep in mind with git merge?\n\n \n\nMerging keeps the history exactly as it happened, including when branches split and rejoined. Some teams prefer that; others prefer rebasing for a straight history. Either way, merge often. Small, frequent merges have small conflicts. Merging a branch that has lived apart for a month can mean an afternoon of untangling changes nobody remembers clearly.\n\n \n\n## At a glance\n\n   CategoryGit commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Git commands terms\n\n \n\n- [git fetch](<https://delaparra-services.nl/knowledge-hub/git-fetch>) \n- [git init](<https://delaparra-services.nl/knowledge-hub/git-init>) \n- [git log](<https://delaparra-services.nl/knowledge-hub/git-log>) \n- [git pull](<https://delaparra-services.nl/knowledge-hub/git-pull>) \n- [git push](<https://delaparra-services.nl/knowledge-hub/git-push>) \n- [git rebase](<https://delaparra-services.nl/knowledge-hub/git-rebase>)\n\n \n\n[All terms starting with G](<https://delaparra-services.nl/knowledge-hub#letter-g>)\n\n \n\n## Skills\n\n \n\n- ### Git Advanced Workflows\n\n \n\nMaster advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.\n\n [View skill](<https://delaparra-services.nl/skills/git-advanced-workflows>) [Download zip](<https://delaparra-services.nl/skills/git-advanced-workflows/download>) \n- ### Using Git Worktrees\n\n \n\nUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback\n\n [View skill](<https://delaparra-services.nl/skills/using-git-worktrees>) [Download zip](<https://delaparra-services.nl/skills/using-git-worktrees/download>) \n- ### Finishing a Development Branch\n\n \n\nUse when implementation is complete, all tests pass, and you need to decide how to integrate the work\n\n [View skill](<https://delaparra-services.nl/skills/finishing-a-development-branch>) [Download zip](<https://delaparra-services.nl/skills/finishing-a-development-branch/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/git-merge/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Git: branches, rebase and merge conflicts](<https://delaparra-services.nl/manuals/git-branches-rebase-en-merge-conflicten>) \n- [Working with Git](<https://delaparra-services.nl/manuals/werken-met-git>)\n\n \n\n## Related services\n\n \n\n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment. \n- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)\n\nIf you want to use a coding agent, we provide all the infrastructure to help it work efficiently.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/git-merge)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/git-merge",
                "name": "git merge: Knowledge hub | DeLaParra Services",
                "description": "Combine the history of another branch into the current branch, creating a merge commit.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#term",
                    "name": "git merge",
                    "description": "Combine the history of another branch into the current branch, creating a merge commit.",
                    "termCode": "git-merge",
                    "url": "https://delaparra-services.nl/knowledge-hub/git-merge",
                    "inLanguage": "en",
                    "keywords": "Git commands",
                    "dateModified": "2026-11-25T17:46:27+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is git merge?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Combine the history of another branch into the current branch, creating a merge commit. git merge combines another branch into your current branch. git merge feature/export brings the feature's commits into main, usually with a merge commit that joins the two lines of history. When both branches changed the same lines, Git stops with a conflict and marks the spots in the files. You decide what the result should be, stage the files and complete the merge."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with git merge?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Merging keeps the history exactly as it happened, including when branches split and rejoined. Some teams prefer that; others prefer rebasing for a straight history. Either way, merge often. Small, frequent merges have small conflicts. Merging a branch that has lived apart for a month can mean an afternoon of untangling changes nobody remembers clearly."
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/git-advanced-workflows#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/using-git-worktrees#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/finishing-a-development-branch#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/git-branches-rebase-en-merge-conflicten#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/werken-met-git#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "git merge"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#dataset",
                "name": "git merge",
                "description": "Combine the history of another branch into the current branch, creating a merge commit.",
                "url": "https://delaparra-services.nl/knowledge-hub/git-merge",
                "identifier": "https://delaparra-services.nl/knowledge-hub/git-merge#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-merge#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Git commands",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:27+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "git-merge.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-merge.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-merge.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-merge.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-merge.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-merge-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-merge/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}