无法git pull ubuntu [无法创建符号链接文件名太长]

时间:2016-03-01 06:54:52

标签: git ubuntu

我无法从git中提取数据,它显示错误: -

error: unable to create symlink node_modules/.bin/sshpk-conv (File name too long)

我在编辑.git / config文件时尝试并添加了

longpaths = true

仍然是同一个问题。

请帮帮我

1 个答案:

答案 0 :(得分:0)

我有上游和叉子回购。问题在于开发分支。

这就是我的情况。 显示一个文件的Git已被删除。但实际上我并没有删除任何文件。所以我想重置它并采取拉动。但它低于错误

无法创建符号链接src / config / features.json(文件名太长)

我试过以下的东西,但我得到了同样的错误

git rebase -i 
git pull 
git reset --hard HEAD

解决方案:

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.

现在一切都很好。