#git
#vscode

How do i check git username and email address?

Anonymous

AnonymousOct 05, 2023

How do i check git username and email address?

You can check your Git username and email address by using the following commands in your terminal or command prompt:

To check your username

git config user.name

Output:

Rocky Bhai

To check your email address

git config user.email

Output:

rockybhai@gmail.com

Another way to show your git username && email address is with this git config command

git config --list

Output:

user.name = Rocky Bhai
user.email = rockybhai@example.com
color.ui = auto
core.editor = vim
...

Happy Coding!