termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Merge all commits not present on the target branch from the source branch to target branch, and delete the source branch
git graft
Merge commits from a specific 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>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
git graft {{source_branch}} {{target_branch}}
click the source code to copy
install
git graft
on any operating system with
command-not-found.com