Created
December 7, 2020 08:08
-
-
Save mraubo/ca007c0ca3d5dda9a0b95cf1a012b6a3 to your computer and use it in GitHub Desktop.
Cherry-pick from remote
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
| # Cloning our fork | |
| $ git clone git clone [email protected]:ifad/rest-client.git | |
| # Adding (as "endel") the repo from we want to cherry-pick | |
| $ git remote add endel git://github.com/endel/rest-client.git | |
| # Fetch their branches | |
| $ git fetch endel | |
| # List their commits | |
| $ git log endel/master | |
| # Cherry-pick the commit we need | |
| $ git cherry-pick 97fedac | |
| # Pushing to our master | |
| $ git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment