2015-05-23 67 views
5

我無法在bitbucket中拉/推遠程回購或本地更改分支。我收到以下錯誤。git error:can stat <filename>:協議錯誤

* branch   master  -> FETCH_HEAD 
Performing inexact rename detection: 100% (651/651), done. 
error: cannot stat 'public/location-chambre-meublee/pictures?body_icons.png': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?chambre-meublee-montreal.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?colocation-montreal-canada-irie-location.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?colocation-montreal-etudiant-irie-location.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?colocation-montreal-irie-location.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?home-banner.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?icons-1.png': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?icons-2.png': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?icons-3.png': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?logo.png': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?merci-banner.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?proto.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?recherche-colocation-montreal-irie-location.jpg': Protocol error 
error: cannot stat 'public/location-chambre-meublee/pictures?trouver-une-colocation-a-montreal-irie-location.jpg': Protocol error 

如何解決這個問題或刪除bitbucket中的這些文件?

+0

你有沒有想過這個?我有同樣的問題。 –

回答

1

也許這可以幫助,即使您的問題沒有使用Git重訂做到:

git rebase error

基本上它是說,你必須使用這些文件(有時使用關閉任何程序任務管理器)。

如果這不起作用,我會建議在不同的位置克隆項目,然後將修改後的所有文件複製到正確路徑下的新位置。然後,您可以承諾並從那裏推出沒有任何問題。