git push error: not Signed-off-by author/committer/uploader in commit message footer -


i newbie in using git. in right direction lot.

i working on issue, on local repository, , found bug fixed in kernel.org repository.

so trying pull in (cherry-pick) fix (commit-id) kernel.org branch , submit local gerrit. , trying maintain commit message of commit kernel.org branch.

when try push fix on local gerrit, face following error:

error: ssh://@123.321.12.1:1234/mirror-sec/asdfgt/hjks ! [remote rejected] -> refs/for/ (not signed-off-by author/committer/uploader in commit message footer) error: failed push refs 'ssh://@123.321.12.1:1234/mirror-sec/asdfgt/hjks'

following steps followed:

  1. did, git remote add 'tag' git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
  2. did, git fetch 'tag'
  3. searched commit, git log 'tag'/master
  4. cherry-picked specific commit-id needed, git cherry-pick
  5. did, git commit --amend, new change-id cherry-picked commit-id
  6. did git push, submit change local gerrit. git push ssh://@123.321.12.1:1234/mirror-sec/asdfgt/hjks :refs/for/

    when followed above steps mentioned, face above error mentioned.

is there doing wrong? information overlooking lot.

thanks,

projects in gerrit can configured require signed-off-by in footer of commit message enforce every change signed author, committer or uploader. if project signed-off-by required , commit message footer not contain it, gerrit rejects push commit error message.

this policy can bypassed having access right forge committer.

this error may happen different reasons

if not have access right forge committer identity:

missing signed-off-by in commit message footer signed-off-by contained in commit message footer it’s neither author, committer nor uploader

signed-off-by author, committer or uploader contained in commit message not in footer (last paragraph)

to able push commits can amend commit , add signed off line or use forge committer option in local gerrit


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -