http://nathanhoad.net/how-to-cherry-pick-changes-with-git
First, from within your feature branch, copy the first six or seven characters of the ID of the commit that you want to bring in:Now jump into the branch that you want to insert the commit into (I'm usingmaster):git checkout masterAnd thencherry-pickyour commit:git cherry-pick c90fd66Now if you do agit logyou will see your cherry-picked commit at the top.
No comments:
Post a Comment