git cherry-pick -n code example Example 1: git cherry pick git cherry-pick <commit-hash> Example 2: git cherry pick cherry-pick command