Unable to commit a message - Learn Git by Building SQL Reference Object

When I try to commit a message as instructed in the course I get an error message saying my GitHub account is not allowed.

I tried resetting the course, unstaged the file, and resetting the head and nothing works. Please check out the image below to see the error.

You need to set those config values. If you’re on a shared machine you can set them only for the repository for this project (rather than globally), by omitting --global.

Simply type the commands shown, including a username and email address.

1 Like

Thank you, I actually saw the logs of the repository and set the same email and name that were used by default and it works, if I get the same issue later on then I’ll try omitting the global config.

Thank you!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.