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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.