git-graft
Merge commits from a branch into another branch and delete the source branch. tldr-pages
On several platforms
Several platforms
Merge commits from a branch into another branch and delete the source branch. Part of git-extras.
Merge all commits not present on the target branch from the source branch to target branch, and delete the source branch
git graft source_branch target_branchIdentify