From: Alex Riesen <hidden> Date: 2016-06-15 22:42:33
Linus Torvalds, Sun, Jul 09, 2006 05:15:41 +0200:
The basic idea is that "branch1" should be your current branch, and it
obviously is also expected to match (more or less) the current index. So
you can do a merge by
- reading in "branch1" into the index:
GIT_INDEX_FILE=.git/tmp-index git-read-tree -m branch1