File path too long issue in Git clone(Path length issue fix).

To modify the system-level Git configuration, you need to open Git Bash or Command Prompt with administrative privileges:

Command Prompt:

  1. Search for Command Prompt in the Start menu.
  2. Right-click on it and select Run as administrator.
  3. Once the terminal opens, run
git config --system core.longpaths true

Git Bash:

  1. Search for Git Bash in the Start menu.
  2. Right-click on it and select Run as administrator.
  3. Once Git Bash opens, run the same comman
git config --system core.longpaths true

By running the command with elevated privileges, you should be able to modify the system-wide Git configuration without encountering the “permission denied” error.

Leave a comment

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