Anonymous commits when pushing from Xcode


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?



1 answer

1 accepted

1 vote
Accepted answer

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

xcrun git config --global

to see your current settings.

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

xcrun git config --global 'new username'

xcrun git config --global ''



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 :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Agile

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

86 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you