In this article let’s discuss about Configuring git user and password . Let’s go through the following methods without any delay.
git config --global user.name "fname lname" git config --global user.email "firstname.lastname@example.org" git config --global user.password "secret"
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!
Method 2 :
$ git config --list --show-origin
Hope the above solution works.
Realted Posts : How to get current git branch?