Gitkraken doesn't show branches and commits

后端 未结 7 3148
忘了有多久
忘了有多久 2021-02-20 09:46

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

7条回答
  •  星月不相逢
    2021-02-20 10:24

    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?

提交回复
热议问题