簡體   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