Marshall Shen
Marshall Shen

Reputation: 1333

IntelliJ GitHub: GitHub user profile not set

Has anyone encountered following difficulties with IntelliJ GitHub version control? When I push my code up to GitHub, the GitHub will show that it receives a commit from Unknown User.

Upvotes: 0

Views: 985

Answers (1)

LoKi
LoKi

Reputation: 3855

Check if your user.name and user.email are defined correctly - execute this in the folder controlled by Git:

git config user.name

If it gives your name, and if committing from the command line also is made with correct user name, and if you are on Windows, check if %HOME% environment variable is defined in your system and points to the folder where the global .gitconfig is located.


Note: sad that you have given so few details about the problem (no git version, no Intellij IDEA version, no information about the OS); sad that you didn't try or didn't tell us the command line result, but hope it helps.

Upvotes: 2

Related Questions