我正在努力通过 git review 命令将更改推送到 Gerrit。
到目前为止,我已经执行了以下步骤:
现在,为了推送更改以供审核,我执行了以下操作。
git clone http://admin@localhost:8008/r/testrepo.git
修改了一些文件
git add .
git commit -m 'my_trial_commit'
到目前为止一切正常,但是当我运行git review -R
提交新更改以供审核时,我收到以下错误。
git review -R
To http://localhost:8008/r/testrepo.git
! [remote rejected] HEAD -> refs/for/master (testrepo.git is not configured to receive patchsets)
error: failed to push some refs to 'http://admin@localhost:8008/r/testrepo.git'