How to Merge a Specific Git Commit
TIP
Example: develop contains a commit that needs to be merged into main.
Run
git logon the source branch to find the commit ID you want to merge.
Check out the target branch, e.g.
git checkout main.
Use
git cherry-pick <commit_id>to apply the commit, then push as needed.
