Merge commits from a specific branch into another branch and delete the source branch.
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_branch]
git-graft <src-branch> <dest-branch>
Merge commits from <src-branch> into <dest-branch>
$ git graft new_feature dev
Written by Kenneth Reitz <firstname.lastname@example.org>