Hands-on task
This task is step 3 of the course “Shipping a release”
Move a commit with cherry-pick
In /root/project, the feature branch has a commit that adds the file hotfix.txt. Move only that commit into the main branch with cherry-pick (without merging the whole branch). hotfix.txt should appear in main.
Reference:git
What you'll practise:
- git cherry-pick
- git log
- branches
- moving commits