How to set git config username and email?
Hello,
You must first set your login and email when creating your first git repository or cloning a project from one. Additionally, you may set the username email for each repository as well as the global username email. As a result, you can set the global git login and email in this article using the command line.
Global Set:
git config --global user.name "ErrorGram"
git config --global user.email "[email protected]"
git config --list
Using the command below, you can also set a login and email for each project repository. You must first navigate to the project root directory.
Per Repo Set:
git config user.name "ErrorGram"
git config user.email "[email protected]"
git config --list
Thank you
Copyright 2024 ErrorGram