"git cherry-pick" helps to append an individual commit(s) from one branch into your current HEAD branch.
$ git pull origin main
git log
$ git cherry-pick <commit hash> $ git cherry-pick 649ab0a
a - b - c (Main branch) \ d - e (Sprint branch)
Let us consider the above example. Follow the below steps to cherry pick e from sprint branch to main.
$ git checkout main $ git pull origin main $ git cherry-pick e $ git push
Now e is available in the main branch of your fork (user/rdkservices). Submit a Pull Request to upstream repository (rdkcentral/rdkservices)
There was an error while loading. Please reload this page.