Using this Methode we can solve the git file name to long and LF replace to CLF issues.
1) Set up the CRLF and the problem will “disappear.”
# Option 1:
git config --global core.autocrlf false
# Option 2:
`git config --global core.safecrlf false`
2) I am getting the below error while pulling changes from a GIT branch ….
cannot stat ‘somelongfilename.sql’: Filename too long
As a solution, I am trying to add
we can solve this issue with the below command.long paths = trueto gitconfig file. This is located in the system default folder and I do not have permission to edit this file.
Usedgit config --global core.longpaths true
instead ofgit config --system core.longpaths true