Welcome to the Treehouse Community
Looking to learn something new?
Piers FC10,402 Points
I am unable to run 'git commit' on my Run
I am undertaking the Git Basics course and I have installed git for windows on my computer.
However, having created my first repository, following the course along, I am unable to commit to that repository using the git commit command.
When doing so I get the following message:
*** Please tell me who you are.
git config --global user.email "firstname.lastname@example.org" 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: unable to auto-detect email address
any ideas what I need to do?
William LiCourses Plus Student 26,865 Points
just run this two lines in terminal
git config --global user.email email@example.com git config --global user.name "your name"
replace email and name with your own. These two lines basically do some global initial setup of git.
that works, i had the same problem!
Juliette TworseyFront End Web Development Techdegree Graduate 32,411 Points
That helped me as well. Thanks!