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
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
Re: see commit messages on git pull
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-mergesIt 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
Re: see commit messages on git pull
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