# A and B are commits # A is older than B git cherry-pick A^..B # to ignore A itself, run: git cherry-pick A..B