Git Allow merge of unrelated history




    This command will merge any changes that have been made to the current branch on "origin" into the branch "master" and then update the local repository's copy of the "origin/master" branch. Changes that are not related to the current branch on "origin" will not be merge. This is handy if you want to keep multiple branches in your local repository with different versions of a codebase.

    git pull origin master --allow-unrelated-histories
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.