D
D
Drovosek012019-02-17 19:39:19
git
Drovosek01, 2019-02-17 19:39:19

How to get email from your github repository?

1. Should the email in the repository config match the email in the profile on github (and maybe other sites)?
2. I don't remember which email I set via
git config --global user.email "[email protected]"when creating the repositories a few years ago. I posted these repositories on github a long time ago. Can I find out from them which email was in the config when they were created/placed? If I can, then how?
PS
I tried to clone the repository from github, go to the folder with it in the console and enter there git config --list --local, but there is no information about the name and email.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
artem78, 2019-02-17
@Drovosek01

The email and name you set with the command git configwill be listed in the commit author. If this email is registered on GitHub, a link to your GitHub account will appear.
See what address is registered in your GitHub account and write it in your git settings.
These are your local settings and such information is not stored in the repository.
See also: https://help.github.com/articles/setting-your-com...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question