MikiBelavista
MikiBelavista

Reputation: 2728

Github, how to find out my username?

I want to start using git

This is my github repo

https://github.com/MilenkoM

Is my username MilenkoM?

git config --global user.name

shows nothing because I have not used git on UBuntu,I have just forked repos from other people

Can I see this from the command line on Ubuntu?

Upvotes: 3

Views: 13559

Answers (1)

Pal Kerecsenyi
Pal Kerecsenyi

Reputation: 567

As far as I know, there is no way to find user GitHub username using the Git CLI. You can find your full name and email address, however.

git config user.name
git config user.email

An important distinction to make is that Git is not the same as GitHub. GitHub can sort of be considered as a large-scale web-based Git repository hosting service. Git, however, is a version control system written by the creator of Linux, Linus Torvalds.

Your username is indeed 'MilenkoM' and your full name is 'Milenko'. Your email address will probably be shown as '[email protected]'.

Upvotes: 6

Related Questions