how to do git cherry pick in command line code example Example 1: git cherry pick git cherry-pick <commit-hash> Example 2: git cherry pick cherry-pick command