git-graft - Man Page
Merge and destroy a given branch
Examples (TL;DR)
- 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
Synopsis
git-graft <src-branch> <dest-branch>
Description
Merge commits from <src-branch> into <dest-branch>
Options
<src-branch>
<dest-branch>
Examples
$ git graft new_feature dev
Author
Written by Kenneth Reitz <me@kennethreitz.com>
Reporting Bugs
See Also
Referenced By
October 2017 Git Extras