D
D
Dmitry2018-10-06 23:52:49
git
Dmitry, 2018-10-06 23:52:49

How to restore local git history in PhpStorm?

Good evening.
Today there was a problem with local history.
I opened the project in phpstorm and I see 335 modified files in the "Version Control" tab.
Selectively checked for some files "Local history" - "History is empty".
In the phpstorm console, I ran the command git log, there is a commit history. Compared the latest commit with bitbucket . The commit date and name match, but the checksum does not.
In phpstorm console
5bb92006e670e340089888.png
On Bitbucket
5bb9202054930888310173.png
What could be the problem and how to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2018-10-07
@slo_nik

changing the permissions on the source files has a similar effect.
to see the problem:
shows the changes of uncommitted files with respect to the last commit.
reverts the file to the state it was in when it was last committed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question