Added the cherry-pick function

Added a cherryPick function to the repository