Page tree
Skip to end of metadata
Go to start of metadata


Windows does not allow having paths longer than 260 characters by default. There are paths of this length and longer in IHMC software, so this fix should be applied before Git cloning.

The solution below only works with Windows 10. Solutions for other versions of Windows are not yet known.

Solution (Windows 10)

Step 1: Run Registry Modifier

Download and run this script to apply the fix –>  Remove 260 Character Path Limit.reg


If you need to go back for some reason, run this file:

Restore 260 Character Path Limit (Default).reg

*  Solution source:

Step 2: Set "Enable Win32 longs paths" to Enabled

Hit Windows key. Type "Edit Group Policy", hit Enter.

Under Computer Configuration > Administrative Templates > System > Filesystem

Right click Enable Win32 long paths, Edit, set to Enabled.

Step 3: Set Git configuration core.longpaths = true 

Set core.longpaths to true.

git config --global core.longpaths true

See Git#Configuration for help working with Git configuration.

More Info

Example error

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/ Filename too long
ihmc-common-walking-control-modules/src/test/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/ Filename too long
  • No labels