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
Since I have multiple projects with different commit names, the solution provided by @sergtk does not work for me. Instead, I did the following:
xcrun git config --local user.name 'new_user_name'
xcrun git config --local user.email 'new@email.com'
Also, note that the first commit needs to be changed, so I used the solution provided here to fix this: Change the author and committer name and e-mail of multiple commits in Git