git - Xcode source control wrong username on github -
im having problem, have entered remote repository , committed project. when @ commit on github shows commit has come separate user, , not mine. seems have used name of developer account git username, if have entered correct username when setting repository in github.
is there solution, when commit xcode, shows coming github profile, , not separate account?
github uses email address in commit header link commit github user.
xcode pulls used pull email details contacts. if have multiple email addresses associated own contact card, xcode choosing different email address use doesn't match github username email.
i don't believe there's way specify email address use within xcode, can specify in local or global git configuration file.
update:
try these commands, provide xcode git username , email:
xcrun git config --local user.name 'new_user_name' xcrun git config --local user.email 'new@email.com'
Comments
Post a Comment