git cherry-pick <commitA>

Apply the changes introduced by <commitA> on top of the current branch.

Unlike git merge <branch1>, which makes all the history in part of the current branch, git cherry-pick makes a copy of the actual changes in and applies them on top of the current state of the branch creating a new commit. Therefore, will not be part of the branch's history.

Sign in to enable bookmarking, reminders, progress-tracking and more...

Sign in to enable bookmarking, reminders, progress-tracking and more...

Sign in to enable bookmarking, reminders, progress-tracking and more...