How do pick only one commit from a branch on a remote repository and merge it to the current branch on my local repository?
I looked around on google, and I found git cherry-pick. But this seems to be for doing this only across branches in the same repository.
Fetch the other repo:
That downloads all the history from that repo, but without changing
HEADor your staging area.Then,
cherry-pickthe commit.