Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save oviniciusfeitosa/01d0639948d61fa938d88f86e991bc6a to your computer and use it in GitHub Desktop.
Save oviniciusfeitosa/01d0639948d61fa938d88f86e991bc6a to your computer and use it in GitHub Desktop.
GIT - project-a into project-b:
If you want to merge project-a into project-b:
cd path/to/project-b
git remote add project-a path/to/project-a
git fetch project-a
git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge
git remote remove project-a
https://stackoverflow.com/a/10548919/1330323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment