I am unable to pull data from git it is showing me the error :-
error: unable to create symlink node_modules/.bin/sshpk-conv (File name too long)
I tried while editing .git/config file and added
longpaths = true
still same issue.
Please help me out
I have upstream and fork repos. Issue is with develop branch.
This is what happened in my case. Git showing one file has been deleted . But actually I didn't delete any file. So I wanted to reset it and take the pull. But it is throwing below error
unable to create symlink src/config/features.json (File name too long)
I tried below things but I got same error
git rebase -i
git pull
git reset --hard HEAD
Solution:
I have committed with the deleted file to my fork on develop branch. Then I switched the some other branch let's say release and deleted the issue branch i.e develop. Then I have deleted develop from my fork as well. Now I did checkout to develop branch from upstream repo. and pushed to my fork.
Everything is fine now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.