From: Zsolt SZALAI <zs.szalai@gmail.com>
To: Bryan Turner <bturner@atlassian.com>
Cc: Git Users <git@vger.kernel.org>
Subject: Re: repository history?
Date: Tue, 6 Feb 2018 11:01:17 +0100 [thread overview]
Message-ID: <CAOKXNqBbZKm7hXPPVGab4f6tvmJOLYiPFNQkFVShv_a-gJwFzA@mail.gmail.com> (raw)
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:
> 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
prev parent reply other threads:[~2018-02-06 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 9:41 repository history? Zsolt SZALAI
2018-02-06 9:48 ` Bryan Turner
2018-02-06 10:01 ` Zsolt SZALAI [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOKXNqBbZKm7hXPPVGab4f6tvmJOLYiPFNQkFVShv_a-gJwFzA@mail.gmail.com \
--to=zs.szalai@gmail.com \
--cc=bturner@atlassian.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).