At an interactive prompt, I can use the git branch -r --no-merged
command to determine remote branches that haven't been merged yet. However, git branch
is a porcelain command and therefore is not suitable for use in a script.
Is there any good plumbing command I can use to determine the same branches returned by the --no-merged
option?