Cherry-Pick Specific Commit
Beginner Mode
Start your terminal to use beginner mode.
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.
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →
Ubisoft