# see commit messages on git pull

3 messages from 2009-02-04 to 2009-02-04. Participants: Thomas Koch, Santi Béjar, Bernt Hansen.
Thread: https://gitlist.dev/t/17553

## Thomas Koch, 2009-02-04 11:45

Subject: see commit messages on git pull
Message-ID: <200902041245.11242.thomas@koch.ro>
URL: https://gitlist.dev/e/200902041245.11242.thomas%40koch.ro

```
I'd like to see the commit messages of the fetched commits, when I do
git pull. Is that possible?

It would also be fine to have sth. like git log --since-last-pull ?

Best regards,
-- 
Thomas Koch, http://www.koch.ro
YMC AG, http://www.ymc.ch

```

## Santi Béjar, 2009-02-04 12:39

Subject: Re: see commit messages on git pull
Message-ID: <adf1fd3d0902040439g47bdfd60s3c365efb221cab72@mail.gmail.com>
URL: https://gitlist.dev/e/adf1fd3d0902040439g47bdfd60s3c365efb221cab72%40mail.gmail.com
In-Reply-To: <200902041245.11242.thomas@koch.ro>

```
2009/2/4 Thomas Koch <thomas@koch.ro>:
> I'd like to see the commit messages of the fetched commits, when I do
> git pull. Is that possible?
>
> It would also be fine to have sth. like git log --since-last-pull ?

I have this alias:

alias.last=log @{1}.. --decorate --reverse --stat -C --no-merges

It uses the reflog to show the commits between the old HEAD (@{1}) and
the current HEAD. You can also specify the branch that you want to see
with branch@{1}..branch@{0}.

HTH,
Santi

```

## Bernt Hansen, 2009-02-04 12:57

Subject: Re: see commit messages on git pull
Message-ID: <874oza1hst.fsf@gollum.intra.norang.ca>
URL: https://gitlist.dev/e/874oza1hst.fsf%40gollum.intra.norang.ca
In-Reply-To: <200902041245.11242.thomas@koch.ro>

```
Thomas Koch <thomas@koch.ro> writes:

> I'd like to see the commit messages of the fetched commits, when I do
> git pull. Is that possible?
>
> It would also be fine to have sth. like git log --since-last-pull ?

git log ORIG_HEAD..

after the pull should do what you want.

-Bernt

```
