Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Showing GitLab profile picture on commits?

Tags:

git

github

gitlab

I use GitHub's desktop client to push and pull git GitLab, an alternative repository site that allows free private repos.

The issue is, when pushing to GitLab, it's not showing my profile picture as it is on GitLab, and its not linking my name to my profile, but to mailto:email_here ??

Can anyone assist with this.

like image 362
Adam G Avatar asked Feb 15 '18 21:02

Adam G


1 Answers

Check what is your current email with:

$ git config user.email

And set your email with

$ git config user.email "[email protected]"

Note that this will only affect new commits. Past commits will remain the same.

like image 87
anusha Avatar answered Nov 02 '22 11:11

anusha