HTML Build a Blog with Jekyll and GitHub Pages Hosting with GitHub Pages Project Pages Websites

Getting a different response when I run git commit -m "initial commit" **I use double quotes because I am using windows

This is the message I am getting and I can't paste it in google to search for the answer. So what do I do?
C:\Windows\System32\scriblyzblog>git commit -m "initial commit"

*** Please tell me who you are.

Run

git config --global user.email "you@example.com" git config --global user.name "Your Name"

to set your account's default identity. Omit --global to set the identity only in this repository.

fatal: empty ident name (for <(null)>) not allowed

1 Answer

Jennifer Nordell
STAFF
Jennifer Nordell
Treehouse Staff

Hi there! The answer is in your question. You need to use the git config commands that it's telling you to. Right now it's all set to a default status and it doesn't know what your email is or who you are. So you need to tell git your name and email. You can do this with:

git config --global user.email "whateveryour@email.com"
git config --global user.name "Billionaire Whatever"

Obviously, you nee to insert your real email address (preferably the one you have linked to github if you have that) and your real name.

Also, using Windows doesn't prevent you from using a single quotation mark. It's the same as the apostrophe!

Hope this helps! :sparkles:

Hey Jennifer Nordell awesome, it worked thank you for your generous help. ^_^