user2846469 user2846469 - 1 year ago 81
Git Question

Git log does not show history before a certain date

In my local Git repository I cannot see the history (

git log
) before a certain date (about a month ago) although the history goes back much further (years).

Probably also related: when I do a
git blame
it shows only one author and the wrong author for the whole file.

In the
repository (central repository) the history is fine.

Does anyone know what the problem could be / know a solution? For me, this is a new phenomenon and seems to be since I updated my Git version to 2.10 (Windows 10 computer).

Answer Source

Could you have done a "shallow clone"? If .git/shallow exists it is a shallow clone and you must do git fetch --unshallow to get the full history.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download