When I try to open a repository in a xampp server with Gitkraken I can\'t view branches or commits, just the message \"Displaying 2000 commits. Adjust this setting in Preference
I deleted my repository and installed again. The error is gone.
I had the same problem, unfortunately Yaspers answer did not work for me since I did not make a shallow copy.
Turns out my GIT repository was corrupted for whatever reason. After opening the command line and executing git fsck
, I got this error message:
error: packfile [some hash].pack claims to have 811 objects while index indicates 874 objects
I tried to reset the changes: git reset --hard
. It sort of worked (be aware that this deletes all of your uncommitted changes!). Git Kraken was able to display new changes but still was not able to display the whole tree.
In the end, the only thing that worked for me:
It is not the solution I hoped for but at least I did not lose the whole repository.
Ran into this because I had to check out my repo with limited depth. Cloning the repo fully ran into a closed connection, so I checked out a shallow copy:
git clone http://github.com/large-repository --depth 1
But this resulted in GitKraken omitting the history like what you ran into. GitKraken didn't handle the depth nicely; in order to fix it, I had to run this after the initial clone:
git fetch --unshallow
Update: I'm not sure if this was the same situation as what you ran into, but the GitKraken dev team responded to me saying the app doesn't support shallow copies yet: Why Gitkraken does not display any logs in big repos?
Run
git gc
from terminal and relaunch gitKraken worked for me.
See FAQ from gitKraken (https://support.gitkraken.com/faq/)
Fastest solution: reclone your repository from the remote server (Github, GitLab etc). The current local git repository could be corrupted for some reason. If you open both in git kraken you will see that the new local source will have visible commits.
I got the same issue, I already paid a one-year membership. So frustrated. I have to find another application instead of the gitkraken. I find Git Tower and Git Ahead.