git-graft: add page (#6034)
This commit is contained in:
9
pages/common/git-graft.md
Normal file
9
pages/common/git-graft.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# 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>.
|
||||||
|
|
||||||
|
- 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}}`
|
Reference in New Issue
Block a user