Gerrit: ! [remote rejected] HEAD -> refs/publish/master (no new changes)

gerrit, git

Solution

I think the problem is that the commit already in remote branch. That is why no new changes on push. First try to remove the commit from remote branch, and then push the commit to review branch.

Problem

I made some changes, committed them and pushed the branch to Gerrit (`git push gerrit`). Now my changes don't appear in Gerrit and I assume this is because I pushed the changes manually instead of using git review. When I run `git review` now, Im getting this error: ``` remote: Processing changes: refs: 1, done To ssh://user@gerrit-host:29418/Project ! [remote rejected] HEAD -> refs/publish/master (no new changes) error: failed to push some refs to 'ssh://user@gerrit-host:29418/Project' ``` How can I tell Gerrit that my changeset needs to be reviewed?

Original source

Related problems