This file contains hidden or 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
git checkout -b otherrepo-master master | |
git pull https://github.com/otherrepo/my-repo-name.git master | |
git checkout master | |
git cherry-pick --strategy=recursive -X theirs <commit-hash> | |
git log | |
git branch -D otherrepo-master | |
git push origin master |