Git Commit: File name Too long error

When git commit is doing through the Git dektop application in windows operator an error is showing saying “Filename too long”.

How to resolve the issue?

  • Open the command prompt as “Run as Administrator”.
  • Enter the command, git config –global core.longpaths true

Note:

If git is not already installed in the system, download the git first by clicking the link Git – Downloading Package (git-scm.com)

Leave a comment

Your email address will not be published. Required fields are marked *