git checkout-index: unable to create file (File name too long)

前端 未结 2 672
日久生厌
日久生厌 2020-12-09 17:54

I check out my repository but there is a file with too long file name:

~/git$ git clone git+ssh://server/git/ma.git
Initialized empty Git repository in ~/git         


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 18:33

    You might need to disable home directory encryption or checkout outside like /tmp

    I think it limits the filename size to 144 characters.

    http://ubuntuforums.org/showthread.php?t=1173541

    http://ubuntuforums.org/showthread.php?t=1258294

提交回复
热议问题