Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Branch with another GitHub account

Every time I committed my code to my repository, my branch show my another account and I don’t know how to change that because in my VS Code and in my bash terminal my account is "GustaDNS" and not "Gustavo0DNS"

enter image description here

I was expecting my username not the other

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Run the command below, and it will provide you your GitHub username and email that are configured in your local system.

git config --global user.name
git config --global user.email

Set the appropriate username and email that you want to display in your commit by executing the commands below.

git config --global user.name "MYUSERNAME"
git config --global user.email "MYEMAIL@example.com"
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading