git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* repository history?
@ 2018-02-06  9:41 Zsolt SZALAI
  2018-02-06  9:48 ` Bryan Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Zsolt SZALAI @ 2018-02-06  9:41 UTC (permalink / raw)
  To: git

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?

Thanks,
Zsolt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: repository history?
  2018-02-06  9:41 repository history? Zsolt SZALAI
@ 2018-02-06  9:48 ` Bryan Turner
  2018-02-06 10:01   ` Zsolt SZALAI
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Turner @ 2018-02-06  9:48 UTC (permalink / raw)
  To: Zsolt SZALAI; +Cc: Git Users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: repository history?
  2018-02-06  9:48 ` Bryan Turner
@ 2018-02-06 10:01   ` Zsolt SZALAI
  0 siblings, 0 replies; 3+ messages in thread
From: Zsolt SZALAI @ 2018-02-06 10:01 UTC (permalink / raw)
  To: Bryan Turner; +Cc: Git Users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-06 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06  9:41 repository history? Zsolt SZALAI
2018-02-06  9:48 ` Bryan Turner
2018-02-06 10:01   ` Zsolt SZALAI

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).