Answer the question
In order to leave comments, you need to log in
How to change the account from which Git is used?
When committing or any other action, a github account is used, but not the one I need, I have already tried to change a lot of things, but I can’t find anything. How can I change my github account in git?
Answer the question
In order to leave comments, you need to log in
Look at the command line (cmd):
git config --list
In the Output, look at the line credential.helper, most likely its value is manager-core.
In this case, if you have windows, of course, the credentials are stored in: control panel -> user accounts -> account administration -> storage "General credentials"
You can change it by running the command (again in cmd):
git config --global credential.helper store
In theory, after this procedure git will ask you for a login / password
PS: You can also read this
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question