Когда я делаю git push
, я получаю эту ошибку:
$ git push -vv
Pushing to https://github.com/...
remote: Permission to ... denied to foobar.
fatal: unable to access 'https://github.com/...': The requested URL returned error: 403
Я замечаю, что foobar
пользователь не мой пользователь:
$ git remote -v
origin https://github.com/... (fetch)
origin https://github.com/... (push)
Мой сконфигурированный githubпользователь - это кто-то другой:
$ git config github.user
ThisIsMe
$ git config --local github.user
Также этот модуль git, в котором я не имею ссылки на foobar
в .git/modules/ext/config
Есть какие-нибудь подсказки?