Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 558 Bytes

File metadata and controls

16 lines (9 loc) · 558 Bytes

Cherry Pick Specific Commit

Company: Ubisoft | Difficulty: Easy


Scenario:

You have a Git repository at /home/interview/repo on the main branch. A commit on the feature branch contains a bug fix you need on main, but you don't want to merge the entire feature branch.

Task:

Navigate to /home/interview/repo, identify the bug fix commit on the feature branch from the commit history, then apply it to main.


📹 Video Solution