L
L
leham12021-05-09 14:37:40
git
leham1, 2021-05-09 14:37:40

Why do commits disappear in show history in pycharm?

For some reason, my saved commits in show history sometimes disappear.
If anyone knows why this is happening, please post.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuznetsov, 2021-05-12
@leham1

Show history shows history only within a particular branch.
If you have not linked a new commit to any branch, then you will not see it either in the history or in the general commit log. Don't forget to check which branch you are in and give the commit chain the name of the branch if you started building a branch not from the top, but from the middle of another branch. Otherwise, you will lose your work and have to look for these commits through git reflog

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question