Email or username:

Password:

Forgot your password?
Top-level
jleedev

@b0rk

> Git doesn’t have any built in mechanisms to track how recently you fetched

The reflog does keep dates! But,

1 — you have to ask for them:

¶ git reflog --date=human

Then instead of HEAD@{1} etc, you get HEAD@{time}

2 — By default, `git reflog' shows you the reflog of HEAD, but git keeps other reflogs, so you can see fetches of a remote-tracking branch which you did not check out.

¶ git reflog origin/main --date=human
or,
¶ git reflog --all --date=human

Screenshot of `git reflog origin/main --date=human`, showing some commits, such as
 5d5c28b refs/remotes/origin/main@{Thu Oct 19 14:59}: pull: fast-forward

(and so on)
1 comment
Go Up