A
A
Arthur Belan2020-06-29 14:51:57
git
Arthur Belan, 2020-06-29 14:51:57

How to change user in git console?

I try to push , but it gives me an error:

$ git push origin what_people_say
remote: Permission to Belartale/Mogo.git denied to FornRo.
fatal: unable to access ' https://github.com/Belartale/Mogo.git/ ': The requested URL returned error: 403

FornRo is a brother's profile, how can I change the profile?
New user.name, user.email and new ssh key added but did not help.
Everything worked fine yesterday

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-06-29
@dmtrrr

See what is written in .gitconfig.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question