Pick your cherries

Report a typo

You are working on a repository that contains two branches: main and feature. Your task is to cherry-pick a specific commit from the main branch and apply it to the feature branch. The commit to be cherry-picked contains an important bug fix.

Please perform the following steps:

  1. Switch to the feature branch.

  2. Cherry-pick the commit with hash abc123 from the main branch.

  3. Verify that the commit has been successfully applied to the feature branch.

Write the commands below line by line.

Write a program
# Write your solution below
# Ensure to type the commands line by line

Create a free account to access the full topic