You can use the GitHub using the command line you want to see the which GitHub user account is configured in your system. You can use the simple command to view all the details on your command line.
You want to list all of your user details simple by type the below command.
Output of my system:
If you want to view user.name individually
Just type this command
Just type this command
You want to list all of your user details simple by type the below command.
git config --global --listIt will list all the detail of User nam, Email and Credentials etc.
Output of my system:
git config --global --list
user.email=gokulcs.gk@gmail.com
user.name=Gokulakrishnan S
credential.helper=manager
If you want to view user.name individually
Just type this command
git config --global user.nameIf you want to view user email individually
Just type this command
git config --global user.email