Re: How to find where a branch was taken from.
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Mar 21, 2008, 20:03 UTC
- Message-ID
- <37fcd2780803211303r1a247739na79e78c609565010@mail.gmail.com>
- In-Reply-To
- <32541b130803211148r651d03eev98a478b13e69f710@mail.gmail.com>
On Fri, Mar 21, 2008 at 9:48 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 7 quoted lines
> > "git show-branch" has logic very close to what we need here: if you > give it the names of your current branch and its parent, it'll show > you just the changes on both branches since the branchpoint. But I > don't really want to know about additional changes on the parent, only > on the branch I'm working with, and I often prefer the output to be in > git-log's (very flexible) format instead of git-show-branch.
I believe that
git log parent-branch..local-branch
should give you exactly what you want, i.e. all changes on your local branch since it was copied from the parent branch.
Dmitry