I'm using Gerrit version 2.4.2. I have a branch master
and I created a new branch, called newbranch
. Then I pushed some changes to the remote (Gerrit's) newbranch
. After verifying in Gerrit, I merged the changes to newbranch
.
No, I want to merge the newbranch
to master
, send updates master
(merged with changes from newbranch
), and delete the newbranch
branch.
I tried do this:
git fetch
git checkout master
git merge newbranch
git push origin master:refs/for/master
But Gerrit gives back this message:
! [remote rejected] master -> refs/for/master (no new changes)
What should I do?