Reputation: 195
I have been facing this bug for quite some time and I would like some assistance with it. I'm using git to commit codes from my project on visual studio. When I commit on Git Extension, it shows my name correctly. See picture below.
But on the Azure Devops, it shows another person name instead of mine who has supposedly committed the changes as shown here. Green one is my commit but there is another name which shows up. (Red one)
I have followed the following solutions which I found but to no avail.
Upvotes: 4
Views: 5099
Reputation: 51093
According to your screenshot the author name of your commits shows properly. It only has problem for the name of pull request.
Firstly make sure you are using the same account to create/update the Pull Request and push the changes.
For example you may create/update a Pull Request form web portal, but you may push the commits from Visual Studio with Team Explorer. So, is it possible that you are not using the same account in web portal and Team Explorer?
Even if we changed the Git global settings (Change the User Name
and Email Address
), the changes only reflect on the commit Author. The push message will still show the user which connected to Azure DevOps repository... Reference below screenshot.
Besides you could also try below things to narrow down the issue:
Account Settings
"..IdentityService
folder under
%localappdata%
. VS2017 stores VSTS Account credential there.Upvotes: 3
Reputation: 114651
Azure DevOps doesn't just register the committer, but also the Pusher. The Pusher is taken from the user credentials used to authenticate to Azure DevOps. Since all the "wrong" users show "XXXXXX pushed", I suspect there is something amiss with the credentials you use to log into Azure DevOps.
There are multiple ways for another user to show up:
username:pass@
from your Git Remote settings.Upvotes: 9