@Karetski

Как починить git push?

При попытке push репозитория на github появляется ошибка:

remote: Permission to Karetski/univercube.git denied to PavelMetsko.
fatal: unable to access 'https://github.com/Karetski/univercube.git/': The requested URL returned error: 403


Что странно, ведь в git config имя пользователя совсем другое:

push.default=simple
core.autocrlf=true
user.email=karetski@gmail.com
user.name=Karetski
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=https://github.com/Karetski/univercube.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master


В чем проблема? Уже очень долго не могу исправить.
  • Вопрос задан
  • 996 просмотров
Решения вопроса 1
@Karetski Автор вопроса
Если кому-то вдруг интересно то я нашел решение проблемы. Вернее мне подсказали на stackoverflow. Вся проблема в Связке ключей на OS X. Оригинальный ответ:

Git doesn't provide a user name (nor password). When using https as your protocol, it's a "credential helper" that provides these. See help.github.com/articles/caching-your-github-password-in-git for details. (Using ssh, git still doesn't provide a user name or password either, but the setup seems a bit more straightforward to me with ssh.)
– torek
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы