Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: Segfault with merge-tree on multiple Git versions

From: Jed Brown <hidden>
Date: 2016-06-15 22:56:32

Charlie Smurthwaite [off-list ref] writes:
I am also using this to obtain a diff that would be applied if a merge 
were to be run. Is there a better way to obtain this information that is 
more commonly used?
You can do an actual merge using detached HEAD:

  $ git checkout --detach upstream-branch
  $ git merge topic-branch

This has the benefit that if there are conflicts, you can resolve them
here and commit the result so that rerere can auto-resolve them later.

Are you looking for something that can be run in a bare repo?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help