git graft

Merge commits from a branch into another branch and delete the source branch. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-graft.

git graft {{source_branch}} {{target_branch}}