3
我使用gerrit 2.8並需要簽名提交。不過,我想要筆記不需要簽名。我可以使用什麼權限?我需要有簽名的提交,但我需要禁用簽名的參考/筆記/提交
git notes add -F ~/note.txt <hash>
git push origin refs/notes/commits:refs/notes/commits
...
! [remote rejected] refs/notes/commits -> refs/notes/commits (not Signed-off-by author/committer/uploader in commit message footer)
error: failed to push some refs to 'ssh://A/project'
我已經編輯了project.config添加這些行:
[access "refs/notes/commits"]
push = group Administrators
create = group Administrators
+ requireSignedOffBy = false
+ requireChangeId = false
無濟於事。