# Any easy way to represent the first commit in a branch?

1 messages from 2010-05-29 to 2010-05-29. Participants: Ping Yin.
Thread: https://gitlist.dev/t/23936

## Ping Yin, 2010-05-29 03:36

Subject: Any easy way to represent the first commit in a branch?
Message-ID: <AANLkTinU1dMd1mA2mpoO0rB9OaOofuekPFSCFoFd2Bf1@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinU1dMd1mA2mpoO0rB9OaOofuekPFSCFoFd2Bf1%40mail.gmail.com

```
something like HEAD@root ?

I know i can do it with

git rev-list --reverse --first-parent HEAD | head -1

```
