Why Gitkraken does not display any logs in big repos?

老子叫甜甜 提交于 2021-01-29 08:57:13

问题


I have a quite big repo with exactly 26731 commits, the GitKraken does not show any logs for this repo. It works fine on other repos but not in this repo, although it recognizes the branches and tags but it does not display any logs in any branch (as the below image).

Things I have tried but didn't work:

  1. Adjust the preference to display all logs.
  2. Remove the ~/.gitkraken folder (to clear any destructive caches if any exists).
  3. Uninstall/Install the GitKraken with the latest version.

Environment details:

  • OS: Linux 4.15.0-70-generic x86_64 x86_64 x86_64 GNU/Linux
  • RAM: 8GB
  • CPU: intel core-i7
  • GitKraken's version: 6.3.1

Question:

How to make the GitKraken display the log's tree?


回答1:


I posted a solution for a similar problem in Gitkraken doesn't show branches and commits. But the problem described here lies closer to what my situation was.

I had a bloated repo that timed out if I tried to clone it, similar to your case. You can succesfully clone it with

git clone http://github.com/large-repository --depth 1

If you are not interested in the history. If you want to pull the history in later, run

git fetch --unshallow

(To any mods that feel this is a duplicate question to the one mentioned above then close the question, not the answer)



来源:https://stackoverflow.com/questions/59224253/why-gitkraken-does-not-display-any-logs-in-big-repos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!