git config username and email vscode 1

git config username and email vscode

git config --global user.email yournew@email.com
git config --global user.name yournewgoodname

Here is what the above code is Doing:
1. git config –global user.email yournew@email.com
– This sets the email address that will be associated with your commits.
– The –global flag tells Git to always use this information for anything you do on your system.
– If you omit –global and run the command again, Git will open your global configuration file and change the email address only for the current local repository.
2. git config –global user.name yournewgoodname
– This sets the username that will be associated with your commits.
– The –global flag tells Git to always use this information for anything you do on your system.
– If you omit –global and run the command again, Git will open your global configuration file and change the username only for the current local repository.

Similar Posts