Skip to content

Instantly share code, notes, and snippets.

@doomkit
Created September 11, 2019 10:34
Show Gist options
  • Save doomkit/adf08315eda85a8dd9dda03dd6821893 to your computer and use it in GitHub Desktop.
Save doomkit/adf08315eda85a8dd9dda03dd6821893 to your computer and use it in GitHub Desktop.
[git] Filename too long (Windows)

Git has a limit of 4096 characters for a filename, except on Windows when Git is compiled with msys.
It uses an older version of the Windows API and there's a limit of 260 characters for a filename.

git config --system core.longpaths true

Read more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment