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 trialBrian Foley
8,440 PointsIt keeps asking me who I am
Every time I type in "git commit -m "initial commit", it says "Please tell me who you are to set your account's default identity" even though I had already configured my github username and email. Any ideas?
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! If you'll look at the screenshot you posted, it's asking you to add your user name and your email. You're going to need to run the git config --global
commands that it's showing you to run. Both of them. And make sure you use the email address that's connected to your GitHub account.
Hope this helps!
Brian Foley
8,440 PointsHi Jennifer, I did indeed add my username and email and unfortunately I keep getting that message :(
Jennifer Nordell
Treehouse TeacherWhat is the response if you issue this command? git config --list
?
Don't post the results here, but make sure the entries in user.name and user.email are correct and what you entered.
Brian Foley
8,440 PointsMy mistake! I wasn't putting a space after user.name and user.email. Now it works. Thanks! :)
Brian Foley
8,440 PointsBrian Foley
8,440 PointsHere is a screenshot: https://68.media.tumblr.com/71904b667e1d168f244a47dd81c390fe/tumblr_os7kq7xoP61vd2c8xo1_1280.png