Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

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. ^_^