79699760

Date: 2025-07-13 05:58:15
Score: 1.5
Natty:
Report link

Get the list of commit hash(es) for the commits you wish to merge using the git log.

git log <branch-name>

Then add run the below command for all the commit hashes to pick all the commits you wish to pick.

git cherry-pick <commit-hash>

then use

git push origin <target-branch>

You can also use this refrence link:

https://betterstack.com/community/questions/how-to-merge-specific-commit/

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rahul