1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:42:07 +02:00
tldr/pages/common/git-graft.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

381 B

git graft

Merge commits from a 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}}