access via a deployment key is read-only

Ошибка git push repository access denied. access via a deployment key is read-only

В ответ на попытку git push. получаем:

repository access denied. access via a deployment key is read-only.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Скорее всего вы добавили ключ в настройки проекта -- это по умолчанию ключ для деплоя, который даёт только права на чтение.

Решение

Вам нужно добавить ключ в ваш аккаунт, а не в репозиторий.

Subscribe to RSS - access via a deployment key is read-only