You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Git-cannot-create-a-file-or-directory-with-a-long-path.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@ That being said, long paths support for C-based git commands can be enabled by s
12
12
git config core.longpaths true
13
13
```
14
14
15
+
> [!NOTE]
16
+
> In addition to setting the git configuration the OS also needs to be configured to have longpaths enabled via the [Registry](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#registry-setting-to-enable-long-paths) or group policy.
17
+
15
18
# Technical background
16
19
17
20
The root cause of the technical limitation of 260 chars lies deeply within the Win32 API.
0 commit comments