Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Korveld/00f70830c5c8ab6a62ca15a011382a0f to your computer and use it in GitHub Desktop.
Save Korveld/00f70830c5c8ab6a62ca15a011382a0f to your computer and use it in GitHub Desktop.
"fatal: unable to create threaded lstat" error when run "git status" command
If the resource limit can't be removed by the hosting provider, you could consider using git config to disable preloading of the index (threaded lstat).
git config core.preloadIndex false
If you need that setting when cloning the initial repository, then you will need to set it globally.
git config --global core.preloadIndex false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment