{"thread":{"id":"47769","subject":"repository history?","startedAt":"2018-02-06T09:41:50Z","lastAt":"2018-02-06T10:01:25Z","messageCount":3,"participants":["Zsolt SZALAI","Bryan Turner"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"338492","messageId":"CAOKXNqBSqEP7aikjM1GE=p7jWBsN13Xy3qVL-on7RnrUrwi+bg@mail.gmail.com","threadId":"47769","inReplyTo":null,"subject":"repository history?","fromName":"Zsolt SZALAI","fromEmail":"zs.szalai@gmail.com","sentAt":"2018-02-06T09:41:42Z","receivedAt":"2018-02-06T09:41:50Z","isPatch":false,"sender":{"key":"zs.szalai@gmail.com","avatar":null},"body":"Hi,\n\nI wonder if there is a feature with which the history of the\nrepository can be listed?\ni am interested in especially the usecases of pull and push, i.e. to\nquery when the a branch was refreshed with remote changes and which\ncommits were pulled, things like that.\nIs this possible?\n\nThanks,\nZsolt\n"},{"id":"338494","messageId":"CAGyf7-Fy_APBx8aK2_L5nQN5NfLSxh+qy12Sd8QmLh3LP4KRkQ@mail.gmail.com","threadId":"47769","inReplyTo":"CAOKXNqBSqEP7aikjM1GE=p7jWBsN13Xy3qVL-on7RnrUrwi+bg@mail.gmail.com","subject":"Re: repository history?","fromName":"Bryan Turner","fromEmail":"bturner@atlassian.com","sentAt":"2018-02-06T09:48:39Z","receivedAt":"2018-02-06T09:48:51Z","isPatch":false,"sender":{"key":"bturner@atlassian.com","avatar":"https://gravatar.com/avatar/16bcf3167981c1ef7c804e502642366d888a35b0d0b0a4ca01fdc442aa1acb1e?d=mp&s=160"},"body":"On Tue, Feb 6, 2018 at 1:41 AM, Zsolt SZALAI <zs.szalai@gmail.com> wrote:\n> Hi,\n>\n> I wonder if there is a feature with which the history of the\n> repository can be listed?\n> i am interested in especially the usecases of pull and push, i.e. to\n> query when the a branch was refreshed with remote changes and which\n> commits were pulled, things like that.\n> Is this possible?\n\nHave you looked at the \"git reflog\"[1] command? That can show the old\nand new SHAs when a ref changes, and you can use \"git log\" to\ndetermine which commits were added. That said, it's most useful for\nfetch/pull; push information won't be as easily derived from your\nlocal reflogs.\n\n[1] https://git-scm.com/docs/git-reflog\n\nHope this helps!\nBryan\n"},{"id":"338495","messageId":"CAOKXNqBbZKm7hXPPVGab4f6tvmJOLYiPFNQkFVShv_a-gJwFzA@mail.gmail.com","threadId":"47769","inReplyTo":"CAGyf7-Fy_APBx8aK2_L5nQN5NfLSxh+qy12Sd8QmLh3LP4KRkQ@mail.gmail.com","subject":"Re: repository history?","fromName":"Zsolt SZALAI","fromEmail":"zs.szalai@gmail.com","sentAt":"2018-02-06T10:01:17Z","receivedAt":"2018-02-06T10:01:25Z","isPatch":false,"sender":{"key":"zs.szalai@gmail.com","avatar":null},"body":"Nice, thanks.\nFor what I needed now, it helps.\n\nThanks,\nZsolt\nSZALAI Zsolt\n\n\nOn Tue, Feb 6, 2018 at 10:48 AM, Bryan Turner <bturner@atlassian.com> wrote:\n> On Tue, Feb 6, 2018 at 1:41 AM, Zsolt SZALAI <zs.szalai@gmail.com> wrote:\n>> Hi,\n>>\n>> I wonder if there is a feature with which the history of the\n>> repository can be listed?\n>> i am interested in especially the usecases of pull and push, i.e. to\n>> query when the a branch was refreshed with remote changes and which\n>> commits were pulled, things like that.\n>> Is this possible?\n>\n> Have you looked at the \"git reflog\"[1] command? That can show the old\n> and new SHAs when a ref changes, and you can use \"git log\" to\n> determine which commits were added. That said, it's most useful for\n> fetch/pull; push information won't be as easily derived from your\n> local reflogs.\n>\n> [1] https://git-scm.com/docs/git-reflog\n>\n> Hope this helps!\n> Bryan\n"}]}