Gerrit code verification error - you are not a committer

I have a local clone with my commits showing the author and email id as UserA since I configured my clone using git config.

I extracted and merged some commits from my clone colleague (UserB), who is also working on the same project, to my clone instead of extracting and merging with the parent project.

My git log shows my commits and is done by my colleague.

Question: I'm here

1) Code Overview Gerrit recognizes a commit in the parent project. Therefore, when I click on my local clone, the commits that I pulled from my colleague are not recognized, and I get this error

! [remote failure] HEAD -> refs / for / project1 (you are not a committer to UserB@xyz.com )

Can someone help me with this Gerrit error?

2) How can I determine if a commit that has the name of my colleague is pulled from the parent project or pulled directly from my clone colleague

+3
source share
1 answer

1) Gerrit checks all changes for mailing addresses. Only if all changes have mail addresses that are configured in the user account that pushes the changes, Gerrit will let them go through. However, if you need to get around this check, you must grant your user the "Copyright Identification" and "Forge Commander Identifier" access permissions.

2) , , - , . , - . , , , , . , .

+3

Source: https://habr.com/ru/post/1791177/


All Articles