Github commits are not linked to the github account

Answered

When I push commits to the Github, they are not linked to my user on GitHub. I could not click on my username and they seem to be not related at all. GitHub documentation suggests changing local client settings. Datagrip never asked me for an email of a GitHub user, I suspect that email may be required to link Datagrip and GitHub, even though I use Tokens.

I use the most recent versions of Datagrip, and the GitHub plugin, authorised through Github Tokens.

 

More on the screenshot:

0
5 comments

Hi,

You probably saw:

https://docs.github.com/en/pull-requests/committing-changes-to-your-project/troubleshooting-commits/why-are-my-commits-linked-to-the-wrong-user

IDE uses your git installation which uses user.name and email defined in local config or global config. (have in mind that global overrides local)

So please check both of your configs and adjust email and username properly. 

0

Yep, I've done this, rebooted the device

0

Is it working fine now? 

0

Does it work properly if you commit from command line? 

If it does, then please check if you have the right git version detected in your IDE in Settings | Version Control | Git. 

 

0

Please sign in to leave a comment.