EN
Git - how to show username and email?
10
points
1. Overview
In this post we cover topic of how to show username and email configurations with git.
We can show configurations for:
- global (all repositories)
- single repository
Git configuration works the same under Windows, Linux and macOS.
2. Git - show global username and email configuration
- Open command line (eg git bash)
- Show username and email
# show username git config user.name # show email git config user.email
3. Git - show username and email configuration for single repository
- Open command line (eg git bash) and change directory into specific repository
- Show username and email
# show username git config user.name # show email git config user.email
4. Git - set username and email
It is outside of the scope of this post and we cover this topic under below post, link:
Git - how to set username and email?