1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

git-graft: add page (#6034)

This commit is contained in:
CleanMachine1 2021-05-24 13:18:05 +01:00 committed by GitHub
parent 2cf4c9aa66
commit df9b9a9a20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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}}`