Re: check if a commit is ascendent of a specific commit
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 11, 2006, 11:19 UTC
- Message-ID
- <fcaeb9bf0611110319i680a3805l5f6e6059644642ea@mail.gmail.com>
- In-Reply-To
- <fcaeb9bf0611110308l577d70bfo5046d7d7eb09ac58@mail.gmail.com>
On 11/11/06, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> Hi, > I want to create "git-amend-commit" to be able to amend commits before > HEAD. So I need to check whether the commit I'm going to amend is > ascendent of HEAD. Is there any way to check that?
Forget it. It's git-merge-base. Sorry for the noise