Replies: 3 comments
-
|
In GitHub Desktop you can check or change the username and email from the application settings instead of using the command line. Open GitHub Desktop and go to the top menu. On Windows select File then Options. On macOS select GitHub Desktop then Preferences. In the Git section you will see your name and email address that Git uses for commits. You can edit them there and the changes will apply to all repositories you commit to from GitHub Desktop. If you want to confirm that the settings match your command line configuration open one of your local repos in GitHub Desktop, make a small commit, and look at the commit author in the history panel. It should show the same username and email you set in the preferences window. If this helped please mark the answer as helpful so others can find it. |
Beta Was this translation helpful? Give feedback.
-
|
You're absolutely right that git config --list is the command-line way to check this. GitHub Desktop provides a user-friendly interface to manage the exact same settings. Here’s how to find and configure your Git identity directly within GitHub Desktop:
On Windows: Click File in the top menu, then select Options. On macOS: Click GitHub Desktop in the top menu, then select Preferences.... Quick Keyboard Shortcut: Ctrl + , (Windows/Linux) or Cmd + , (Mac).
In the left-hand sidebar of the options window, click on Git.
Name: Your Git username (e.g., "Your Name"). Email: Your Git email address. Any changes you make here are saved to your global Git configuration and will apply to all future commits you make in any repository using GitHub Desktop. ✅ How to Verify It Worked Make a small change in a repository (like editing a README.md). Commit the change with a message like "test identity". Look at the commit in the History tab of GitHub Desktop. The author information on your new commit will now reflect the name and email you just configured. This GUI method achieves the same result as running git config --global user.name "Your Name" and git config --global user.email "[email protected]" from the command line, all in one simple window. If this solution helped you, please mark it as the accepted answer. This helps others in the community find the correct configuration path quickly. Happy coding |
Beta Was this translation helpful? Give feedback.
-
|
In GitHub Desktop: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
Hi team,
Greetings of the day.
Could you please tell the options in Github desktop to see configurations like username ,email etc
Note to see the same we will use git config --list in cmd prompt
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions