Re: Find the starting point of a local branch
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 24, 2012, 05:45 UTC
- Message-ID
- <CACsJy8DkA-J+ds1eHBqrRyiZrOigORTtxVeEQpZjGHrBR+QjCQ@mail.gmail.com>
- In-Reply-To
- <1356327291-ner-6552@calvin>
On Mon, Dec 24, 2012 at 12:34 PM, Tomas Carnecky <tomas.carnecky@gmail.com> wrote:
Show 6 quoted lines
>> Maybe we should store this information. reflog is a perfect place for >> this, I think. If this information is reliably available, git rebase >> can be told to "rebase my whole branch" instead of my choosing the >> base commit for it. > > What's the starting point of the branch if I type: git branch foo <commit-ish>?
You start working off <commit-ish> so I think the starting point would be <commit-ish>.
-- Duy