INTELLIj Git error, Error flashed while attempting to clone repository

Answered

Hi all,

I was trying to clone s a GIT repository using INTELLIj IDE. The steps I performed were :
VCS-> Get from Version Control-> I filled in the repository URL and chose the Directory to store the codes-> Clone.

The process stopped and when I navigated to the target directory I can't see any of codes, the directory is still empty.

This is the error message I have obtained:

Could someone please help me on this. Thank you.

0
2 comments
Avatar
Permanently deleted user

I am still not able to solve this problem, I am desperate need of assistance. Can someone please assist, I would be deeply grateful.

0

It seems the issue is that the command line is too long and exceeds the limitations.

Check the path to Git in Settings | Version Control | Git, and try to make it shorter (e.g. C:\Program Files\Git\cmd\git.exe, as default for GitForWindows)

Also make sure you are using the latest Git, and check if enabling support for long path in git helps.

0

Please sign in to leave a comment.