Skip to content

Instantly share code, notes, and snippets.

@foca
Created August 18, 2009 14:56
Show Gist options
  • Save foca/169759 to your computer and use it in GitHub Desktop.
Save foca/169759 to your computer and use it in GitHub Desktop.
|
[a] *
|
[b] *
|\
[c] * \
| \
[d] * * [f]
| |
[e] * * [g]
| |
[foo] * [h]
|
[bar]
Given I'm on bar/HEAD, is there a way for git-log or some other git command to know that "the start"
of this branch is [b]? (without knowing that the branch stems from foo, so `git log foo..bar`
doesn't work for me)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment