Re: newb: Given a commit id, find which branches have it as an ancestor

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: newb: Given a commit id, find which branches have it as an ancestor

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:23

Johannes Sixt [off-list ref] writes:
Your best bet is perhaps that you create a branch at the commit

  $ git branch tmp-branch your_sha1

so that the commits are not lost, then you cherry-pick them to master.
It could be that there are more commits that are built on top of the one
you are aware of.  Finding unreachable commits from "git fsck --full"
might help you find them.

RE: newb: Given a commit id, find which branches have it as an ancestor

From: Kelly F. Hickel <hidden>
Date: 2016-06-15 22:46:23

-----Original Message-----
From: Junio C Hamano [mailto:gitster@pobox.com]
Sent: Friday, March 13, 2009 2:37 AM
To: Johannes Sixt
Cc: Kelly F. Hickel; git@vger.kernel.org
Subject: Re: newb: Given a commit id, find which branches have it as
an
ancestor

Johannes Sixt [off-list ref] writes:
quoted
Your best bet is perhaps that you create a branch at the commit

  $ git branch tmp-branch your_sha1

so that the commits are not lost, then you cherry-pick them to
master.

It could be that there are more commits that are built on top of the
one
you are aware of.  Finding unreachable commits from "git fsck --full"
might help you find them.
Thanks, turned out to be my misunderstanding of how to do incremental
imports
(see my response to Johannes).

Thanks for the help,
-Kelly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help