Please read documentation and contact an administrator

解决gerrit push 时提示 Please read documentation and contact an administrator

需要执行git config remote.origin.push refs/heads/*:refs/for/*

#冒号左边的星号为本地仓库的分支名称,for后面的星号为远程仓库的分支名称
  • remote: ERROR: [ff99503] missing Change-Id in commit message footer
    remote:
    remote: Hint: To automatically insert Change-Id, install the hook:
    remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418
    报错信息如上时 : 需要在clone 时选择 clone with commit-msg hook

你可能感兴趣的:(gerrit,git)