*GitKraken 7.7.1 has resolved this issue, see below if issue persists.
Had this issue popup with GitKraken 7.7.0 today. Never had anything in the application error logs or the repo logs that seemed to point to a specific cause or source, but I've resolved the issue today and before (without losing any configuration settings) by:
Going to ->
AppData\Roaming\.gitkraken\profiles\[your profile]\profile
or
~/.gitkraken/profiles/[your profile]/profile
BACKUP this profile file or have it open in text editor able to undo changes.
Open 'profile' in text editor and remove the problematic repo entries under tabInfo -> tabs ->
{
"tabInfo": {
"tabs": [
{ <--- DELETE
"id": "", <--- DELETE
"type": "", <--- DELETE
"repoName": "", <--- DELETE
"repoPath": "" <--- DELETE
}, <--- DELETE
],
"selectedTabId": ""
}
}
Whenever I do this and reopen the problematic repo in GitKraken, it resolves the endless loading issue.
OR
As per Borhan Kazimipour's answer, and based on feedback from GitKraken Support, a simple git gc
on the repo directory can resolve the issue.