How do I get the name of the parent branch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]