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

Re: repository history?

From
ZSZsolt SZALAI <zs.szalai@gmail.com>
Date
Feb 6, 2018, 10:01 UTC
Message-ID
<CAOKXNqBbZKm7hXPPVGab4f6tvmJOLYiPFNQkFVShv_a-gJwFzA@mail.gmail.com>
In-Reply-To
<CAGyf7-Fy_APBx8aK2_L5nQN5NfLSxh+qy12Sd8QmLh3LP4KRkQ@mail.gmail.com>

Nice, thanks. For what I needed now, it helps.

Thanks, Zsolt SZALAI Zsolt

On Tue, Feb 6, 2018 at 10:48 AM, Bryan Turner <bturner@atlassian.com> wrote:
Show 20 quoted lines
> On Tue, Feb 6, 2018 at 1:41 AM, Zsolt SZALAI <zs.szalai@gmail.com> wrote:
>> Hi,
>>
>> I wonder if there is a feature with which the history of the
>> repository can be listed?
>> i am interested in especially the usecases of pull and push, i.e. to
>> query when the a branch was refreshed with remote changes and which
>> commits were pulled, things like that.
>> Is this possible?
>
> Have you looked at the "git reflog"[1] command? That can show the old
> and new SHAs when a ref changes, and you can use "git log" to
> determine which commits were added. That said, it's most useful for
> fetch/pull; push information won't be as easily derived from your
> local reflogs.
>
> [1] https://git-scm.com/docs/git-reflog
>
> Hope this helps!
> Bryan
Previous: Bryan Turner
Message 3 of 3 in “repository history?”
  1. Zsolt SZALAIFeb 6, 2018
  2. Bryan TurnerFeb 6, 2018
  3. Zsolt SZALAIFeb 6, 2018

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.