Thread (1 message) 1 message, 1 author, 2016-06-15

Re: finding unmerged branches

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:19

Björn Steinbrink [off-list ref] writes:
Hm, not sure if I'd call it "better", but probably at least a bit
faster. You could create a "fake" merge to combine all the branches.

git branch -r --no-merged $(
  : | git commit-tree HEAD^{tree} $(
    git for-each-ref --format='-p %(refname)' \
      refs/heads/ \
      refs/remotes/origin
    )
  )
Heh, that is certainly a cute hack ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help