[kwlug-disc] Advanced(?) Git usage question
adamglauser at gmail.com
Wed Apr 9 16:41:29 EDT 2014
On Wed, Apr 9, 2014 at 3:44 PM, Adam Glauser <adamglauser at gmail.com> wrote:
> My specific questions:
> - is there a Git command that will tell me the revision closest to HEAD
> which has both A and B as ancestors? Kind of the opposite of `git
> - I'm trying `git bisect`, but this seems more useful if I'm not already
> sure which revisions are the source of the bug. Would you use `git bisect`
> in a situation like this?
For what it's worth, I ended up using bisect. I set A as "good", HEAD as
bad. I could use `git rev-list | grep 'A|B'` to determine if a particular
revision was bad or good by whether one or both revisions were included.
I'd still love to hear better solutions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc