out of the blue, after having commited changes to my local depository countless times in the past, Xcode is not allowing me to commit with the following error message:
The working copy “MYAPPNAME” failed to commit files.
*** 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: unable to auto-detect email address (got 'myuserid@mycomputername.(none)')
I see that you can set the email address in the command line but I'm wondering what could have caused this error to suddenly appear. Also, since I am in the habit of pushing changes to a remote repo, I'm wondering if any changes I make now on my Mac will create problems syncing to that repo.
Thanks in advance for any suggestions on what might have caused this error to suddenly occur and the safest approach to dealing with it.