繁体   English   中英

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

[英]Unable to git pull ubuntu [unable to create symlink Filename too long]

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

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

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

longpaths = true

还是一样的问题。

请帮帮我

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

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

无法创建symlink 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.

现在一切都很好。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM