GitLab - Strange Icon and Entry after corrupt commit

前端 未结 2 1059
孤街浪徒
孤街浪徒 2020-12-18 03:48

I tried to find a description for the following gitlab entry in my repo (in files-view):

\"Screenshot

2条回答
  •  再見小時候
    2020-12-18 03:59

    In my case this turned out to be caused by a colleague that had mistakenly cloned one Git repository within the top level of another (because of the admittedly confusing top level that consisted of only a -redundant- directory with the same name as the repository).

    The resulting directory layout was like this:

    .git
    art
      .git
      …
    documentatie
      …
    

    For some reason the ‘art’ directory’s contents were never pushed (because of this specific layout?), so after locally cloning the ‘documentatie’ repository, one would end up with an empty ‘art’ sub-directory.

提交回复
热议问题