I wanted to practice using my git bash but could switch accounts.
When I type git config user.name
what should I put here?
And what about git config user.email
?
Don't I need to type my password anywhere? That's kinda weird. So the problem is that I can't push changes using my second account, I got this error:
! [remote rejected] master -> master (permission denied)
error: failed to push some refs to 'https://github.com
Have I changed my account or not? I don't understand that.
How can I switch accounts correctly?