Link to home
Start Free TrialLog in
Avatar of MohitPandit
MohitPanditFlag for India

asked on

Azure DevOps: History shows "gitName" as committed by

Hello Folks,

I am working with Azure DevOps (git) and for couple of commits in "release" branch. It is showing committed by "gitName".
FYI, we are three develops working on same branch.
Could you let me know, what are the reasons to show "gitName", not developer name?

Best Regards
Avatar of Michelangelo
Michelangelo
Flag of Italy image

Git name needs to be configured by the developer on its own work environment so it's basically arbitrary.
Make sure each developer configures its own work environment(s) properly.
git config --global user.name "Firstname Lastname"
git config --global user.email "firstname.lastname@youremaildomain.com"

Open in new window

Some additional info on Azure DevOps here
https://docs.microsoft.com/en-us/azure/devops/repos/git/git-names?view=azure-devops
Also, git first time conf focs:
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
Avatar of MohitPandit

ASKER

But, in case the respective developer commits on "develop" or "feature" branch then, I can see respective developer name. But for "release" branch is showing "gitName" as committed by.
Does git configuration setting apply branch to branch?
ASKER CERTIFIED SOLUTION
Avatar of Michelangelo
Michelangelo
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial