View Expired Logs

Is there a way to view expired logs? I saved several local commits that I made a few months ago at the local branch, and I constantly updated it with the remote branch, often changing the frequency. Somehow I lost all my local commits for this branch and cannot restore it, since git reflog does not show logs for a certain date.

+4
source share
2 answers

After the expiration of the logs, they are deleted from the log. So you would not see them in the reflog, as in design.

See man git-reflog.

+2
source

"expire" reflog. , , , , . .

+1

Source: https://habr.com/ru/post/1627823/


All Articles