Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github Desktop - Author Identity Unknown

I am using github desktop to upload some code for a basic website then use github pages. However, every time i try to commit to main, an error comes up saying "Author identity unknown."

I understand I have to put my name and email in the file but where, there's two html files with JavaScript and css but I don't know where i put this information.

the error message

like image 469
Vanya Novikov Avatar asked Jul 11 '26 02:07

Vanya Novikov


2 Answers

You can also set them in the preferences for the Desktop app.

As shown in figure

like image 80
user18322307 Avatar answered Jul 13 '26 16:07

user18322307


I just experienced this error myself. For anyone still struggling with it:

In the GUI under File>>Options>>Git, my name and E-mail address were already listed in those fields. But when I manually clicked the "Save" button (without altering the name and E-mail address that appeared in those fields automatically), it fixed this issue for me.

My guess for why this happened to me: I just started running the desktop app as an admin to fix some permission-related errors that popped up immediately after installing. It could be that—while the app was having permission troubles—it was able to save my name and E-mail in the GUI, but couldn't apply them where they counted/were usable.

Either way, hopefully this will help someone who's stuck.

like image 29
Jim Avatar answered Jul 13 '26 18:07

Jim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!