On committing I get this error:
*** 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 'X@X-Mac-Mini.(none)')
***
On my windows machine I would use the git commands in the bash/command line but I am still new to Mac and am not sure how to proceed, am I missing a simple setting in SourceTree somewhere or is this a bit more involved?
Cheers
Hi Paul,
If you've installed Sourcetree, I suppose you also has installed git. So, when you open your repository on Sourcetree you should have a icon on right side on top, called Terminal. Just hit that and run the commands which git is complaining:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Regards,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.