Ошибка git: невозможно указать <имя файла>: ошибка протокола

Я не могу вытащить / подтолкнуть к удаленному репо в 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?

1 ответ

Может быть, это может помочь, даже если ваша проблема не связана с git rebase:

ошибка git rebase

В основном это говорит о том, что вы должны закрыть любые программы, использующие эти файлы (иногда используя диспетчер задач).

Если это не сработает, я бы порекомендовал клонировать проект в другом месте, а затем скопировать все файлы, которые вы изменили, в это новое место по правильному пути. Затем вы можете совершить и нажать оттуда без каких-либо проблем.

Другие вопросы по тегам