mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 01:43:18 +08:00
320 B
320 B
git merge-tree
Merge branches without changing files. More information: https://git-scm.com/docs/git-merge-tree.
- Show the result of a merge between two branches:
git merge-tree {{branch1}} {{branch2}}
- Perform a merge and write the resulting tree:
git merge-tree --write-tree {{branch1}} {{branch2}}