How can I change/specify the username used for my commits? I am committing to BitBucket, and using SourceTree my commit-name is now fullname_emailAddress (or a format close to that).
I have used MacHG so far, where I have added the following to the hgrc file for MacHg
[UI]
username = myShortBitBucketUserName
But if I add those lines to my repo-config i SourceTree the line with the username is just deleted again.
I have tried to change my user-info as specified here
But whenever I change my name, the change is reverted when I re-open the settings?