Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Windows does not allow having paths longer than 260 characters by default. On Windows 10 registry fix and the Group Policy Editor preference (and rebooting?), you must enable core.longpaths in Git for Windows and possibly other Git clients you may be usingYou can enable this in Windows 10.

Solution

Step 1: Run Registry Modifier

...

See Git#Configuration for help working with Git configuration.

In a terminal launched with Administrator mode.

...

More Info

https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows

More Info

https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path

Example error

Code Block
Error:The Git process exited with the code -1,073,741,819 during executing
git "C:\Program Files\Git\bin\git.exe" -c core.quotepath=false -c log.showSignature=false
checkout HEAD --
ihmc-common-walking-control-modules/src/main/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrix.java
ihmc-common-walking-control-modules/src/test/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrixTest.java

ihmc-common-walking-control-modules/src/main/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrix.java: Filename too long
ihmc-common-walking-control-modules/src/test/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrixTest.java: Filename too long