DEV Community

Discussion on: How to merge a specific commit into another branch

Collapse
 
elarcis profile image
Elarcis • Edited

The command line alternative would have been git cherry-pick <commitA..commitB>, where commitA is the commit right before the oldest commit to pick, and commitB the last one. You can check commits hashes either via GitLens or git log.