Possible Duplicate:
How do I merge a specific commit from one branch into another in Git?
I’m newby to git. Got a question: If I want a single commit from one branch onto another branch, what command should I use? Thx in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Something like:
git cherry-pick 575f9b1a75673067830bb224ee09b201923093a6or
git cherry-pick my-branch(to get the top commit on my-branch).