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?
question from:
https://stackoverflow.com/questions/12840279/how-to-merge-the-gerrit-branch-to-another-gerrit-branch 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…