Where is the correct place to set my username/password to be accessed globally?

chunk-solutions August 27, 2015

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

1 answer

1 accepted

1 vote
Answer accepted
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 27, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events