How to set git config username and email?
In this post we will give you information about How to set git config username and email?. Hear we will give you detail about How to set git config username and email?And how to use it also give you demo for it if it is necessary.
When you first time create your git repo or clone project from git repo then you must have to set username and email. You can also set global username email and also you can set per repository username email. So, in this post in bellow command through you can set global git username and email.
Global Set:
git config --global user.name "Haresh Patel"
git config --global user.email "onlinecode@gmail.com"
git config --list
You can also set username and email per project repo using bellow command. First you have to go on your project root directory.
Per Repo Set:
git config user.name "Haresh Patel"
git config user.email "onlinecode@gmail.com"
git config --list
Hope this code and post will helped you for implement How to set git config username and email?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs