问题情景

使用SourceTree,可以方便开发人员使用图形化接口的Git指令来管理原始码。但是在Windows上使用SourceTree来管理原始码时,某些操作会出现下列错误讯息:「Filename too long」。

error: unable to create file xxxx.yyy (Filename too long)

解决方案

上网找了一下数据,针对「Filename too long」这个错误讯息,其实就是字面上的意思:原始码文件名过长。

要解决这个问题,开发人员只需要使用「系统管理员身分」开启命令提示字符,接着输入下列指令,就可以正常的使用SourceTree来管理档名过长的原始码。

git config --system core.longpaths true

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-12-08
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-13
  • 2022-12-23
  • 2021-08-27
  • 2021-07-12
  • 2021-10-31
  • 2022-12-23
  • 2021-10-24
相关资源
相似解决方案