VideosMy ProjectsProgramming BlogGallery
  1. Home
  2. Blog
  3. How to merge a branch in git with an unrelated history
Programming Blog

Atom/RSS Feed

git

How to merge a branch in git with an unrelated history

git

You can merge a branch with a different history by adding the flag --allow-unrelated-histories

--allow-unrelated-histories example

git merge master --allow-unrelated-histories
Join my mailing list