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 trialcasthrademosthene
6,275 PointsGetting 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
Treehouse TeacherHi 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!
casthrademosthene
6,275 Pointscasthrademosthene
6,275 PointsHey Jennifer Nordell awesome, it worked thank you for your generous help. ^_^