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

Re: How to find where a branch was taken from.

From: Paul Gardiner <hidden>
Date: 2016-06-15 22:44:24

Jeff King wrote:
On Sat, Mar 22, 2008 at 12:12:16PM +0000, Paul Gardiner wrote:
quoted
Yes, that's exactly what I need too. I need to produce it
programatically. I notice gitk displays, for each commit,
the branches that include it. If I knew a command for
deriving that, I could iterate through HEAD, HEAD~1, HEAD~2...
until I see a remote branch.
How about:

  git name-rev --refs='refs/remotes/*' $COMMIT
Wow! That's clever.

Thanks,
	Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help