繁体   English   中英

git错误:无法统计 <filename> : 协议错误

[英]git error: cannot stat <filename> : Protocol error

我无法在bitbucket中拉/推到远程仓库或在本地更改分支。 我收到以下错误。

 * 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中解决此问题或删除这些文件?

也许这可以帮助,即使你的问题与git rebase没有关系:

git rebase错误

基本上它是说你必须使用这些文件关闭任何程序(有时使用任务管理器)。

如果这不起作用,我建议在不同的位置克隆项目,然后将您修改的所有文件复制到正确路径下的新位置。 然后,您可以毫无问题地从那里提交并推送。

暂无
暂无

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

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