Topic on Talk:Gerrit/Tutorial

What name to use in git settings

3
Leszek Manicki (WMDE) (talkcontribs)

According to "Set your username and email" section user.name in get settings should be set to match the gerrit username, and not to user's "real name" or any other name she preferrs. Is this (still) the actual guideline we should be following? For instance, I have user.name set globally in git to my real name and wouldn't like to change for gerrit repos unless there is a reason to do so. Using a real name not a Gerrit username does not seem to affect Gerrit's web UI as far as I can tell: I can see my patchsets by clicking my name etc.

Leszek Manicki (WMDE) (talkcontribs)

BTW, I've just noticed that the name Gerrit uses when rebasing using the "Rebase" button or editting using Gerrit's UI is actually "Full Name" from the Setting, not the "Username". So that section is at least outdated in this regard. I'd edit it but would like to know for sure why using "real names" is wrong there.

EddieGP (talkcontribs)

I've removed this. Keeping this set to your real name definitely doesn't bother gerrit (I'm actually doing this all the time and I see other people at gerrit using it too). I guess someone messed this up with the gitreview-section where you need to set your username for gerrit to know who you are. But this doesn't apply to the general git setting.