windows 操作系统下git报filename too long 处理方法

两种方法解决:

一是通过修改配置文件

 

 

[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
    longpaths = true

 

二是通过命令修改,本质是一样的:

# 在git bash中,运行下列命令:
git config --global core.longpaths true

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

posted @ 2019-09-05 22:01  igoodful  阅读(642)  评论(0编辑  收藏  举报