git-graft

Merge commits from a specific branch into another branch and delete the source branch.

TLDR

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]
copy

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

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com>

Copied to clipboard