How to change users on Git (Terminal)πŸ’

THANKS πŸ‘: I appreciate the many claps most my readers leave because it takes me a long time to write these free articles.

I’m sure those who have multiple GitHub accounts, will have felt the pain of committing with the wrong user.

😎 Here’s how to solve it:

0.) Type into the terminal to see the current user:

git config --list

1.) Change the current user:

git config --global user.name [your username]