Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools GitHub Basics Working By Yourself Push Your Project to GitHub

Brian Foley
Brian Foley
8,440 Points

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

Hi 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! :sparkles:

Brian Foley
Brian Foley
8,440 Points

Hi Jennifer, I did indeed add my username and email and unfortunately I keep getting that message :(

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

What 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
Brian Foley
8,440 Points

My mistake! I wasn't putting a space after user.name and user.email. Now it works. Thanks! :)