Top community members
All Wiki Articles Create Wiki Article

In the past we had a dream,
to have place where we could share IT knowledge,
to ask questions without fear that someone will judge us.

Now we are a group of people who make this dream come true. ❤ 💻

If you think sharing knowledge and helping other is valuable.

join our community - Click here

Git - how to show username and email?

0 contributions
9 points

1. Overview

In this post we cover topic of how to show username and email configurations with git.

We can show configurations for:

  1. global (all repositories)
  2. single repository

Git configuration works the same under Windows, Linux and macOS.

2. Git - show global username and email configuration

  1. Open command line (eg git bash)
  2. 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

  1. Open command line (eg git bash) and change directory into specific repository
  2. 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?

References

  1. Git config - Docs
  2. Getting Started - First-Time Git Setup
  3. Github - Setting your commit email address
0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more