snippetbashTip
git merge-tree — Merge branches without changing files. More information: <https://git-scm.com/docs/git-merge-tree>.
Viewed 0 times
commandchangingfileswithoutclibranchesmergegit merge-tree
Problem
How to use the
git merge-tree command: Merge branches without changing files. More information: <https://git-scm.com/docs/git-merge-tree>.Solution
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}}Code Snippets
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}}Context
tldr-pages: common/git merge-tree
Revisions (0)
No revisions yet.