Skip to content

File Name Too Long Error On Windows PowerShell 7

Created by: alexAtSourcegraph

fatal: unable to stat ‘path/to/files’ Filename too long: exit status 128 error when repos have long names.

Effort tried to rectify issue:

  • setting git config –system core.longpaths to true
  • enabling long paths in Windows