感覺很愚蠢,但我無法弄清楚在這裏要做什麼。GIT無法拉動:符號鏈接'路徑/文件名'失敗:文件名太長
我有存儲在遠程服務器上的存儲庫的本地副本。遠程服務器有我需要的更改,並且我已對本地副本進行了更改。我無法推送,因爲我需要合併來自服務器上存在的較新版本的更改。當我拉,我得到這個錯誤:
git pull origin master
From server.name:reponame
* branch master -> FETCH_HEAD
fatal: failed to symlink 'path/to/filename ': File name too long
不知道這裏會發生什麼。瘋狂的事情是文件path/to/filename
是一個實際的文件,而不是一個符號鏈接。此外,path/to/filename
甚至不是最長的路徑。
真的很困惑,從哪裏開始調試這個問題。
'ls -la path/to'?這個文件可能有些時髦嗎? – nneonneo
嘗試使用「git fetch origin」,然後「git rebase origin/master」 – Filipe
我認爲'path.to/filename'或者'path/to/filename'不是實際的路徑。如果您向我們展示實際路徑,它可能會有所幫助。路徑符號鏈接中有* any *目錄嗎? –