Anonymous commits when pushing from Xcode

danielasher July 6, 2014

Hi,

when I Push from Xcode to my Bitbucket git repo, the commit is recorded as being made by Anonymous. Is there a way to change Xcode's behaviour to post with my bitbucket id?

thanks,

Daniel

1 answer

1 accepted

1 vote
Answer accepted
Ivan Maduro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 6, 2014

Bitbucket will display your commits based on your email address, and Xcode git may have these configured incorrectly.

You can run

xcrun git config --global user.name

xcrun git config --global user.email

to see your current settings.

If you wish to modify them, you can do the following:

xcrun git config --global user.name 'new username'

xcrun git config --global user.email 'newemail@example.com'

Cheers,

Ivan.

danielasher July 7, 2014

Hi Ivan,

thanks for this tip. I didn't change my email settings manually, but it was set to the correct email and is commiting correctly to since yesterday. Perhaps it's good karma :)

Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events