Created
February 22, 2020 13:30
-
-
Save yaleksandr89/46507f1850c11d645a0b7caf238795e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. cd path/to/project-B | |
2. git remote add project-a path/to/project-A | |
3. git fetch project-A | |
4. git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge | |
5. git remote remove project-A #опционально, если удалить репу коммиты остануться - названия веток нет. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment