git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: see commit messages on git pull

From
SBSanti Béjar <santi@agolina.net>
Date
Feb 4, 2009, 12:39 UTC
Message-ID
<adf1fd3d0902040439g47bdfd60s3c365efb221cab72@mail.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

Previous: Thomas KochNext: Bernt Hansen
Message 2 of 3 in “see commit messages on git pull”
  1. Thomas KochFeb 4, 2009
  2. Santi BéjarFeb 4, 2009
  3. Bernt HansenFeb 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.