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

How do I get the name of the parent branch?

From: Bruce Korb <hidden>
Date: 2016-06-15 22:51:32

Google results point to how to get to commits that have gone into
parent branches, but fundamentally I just want to have a script
that constructs a diff of what has changed since the latest branch
without having to do manual research to figure out the name.

As best as I can tell, you use:

    git format-patch -o pdir --ignore-if-in-upstream $branch

the hard part seems to be (but ought not be) figuring out
the value for "$branch".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help