How to find where a branch was taken from.

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

 



I need a command that will find the remote branch from which
the currently checked out branch was started. I don't know
git very well, and the only way I can think to do it so far
is to iterate over the remote branches and find the one
for which git-rev-list <branch>..HEAD gives the smallest
number of objects. I'm guessing there must be a better
way. Any ideas?

Cheers,
	Paul.
--
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]

  Powered by Linux