Change the username for Git in Xcode?

前端 未结 4 1487
[愿得一人]
[愿得一人] 2021-01-31 11:11

Is there any way to change the Git username and email for Xcode? When I try commit now it will post my real name. I want it to post my GitHub username so that you can link commi

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 11:47

    I start working from corporate mac and had the same problem with bitbacket repository. Any answers didn't help me. Neither removing previous user from address book and saving my own nor terminal commands. One day I tried to work with new repo from SourceTree (free soft from Atlassian). I have replaced user name and mail with my own in preferences and all was ok. I had commits with my own credentials. Ye! I hope my solving will be useful!

提交回复
热议问题