Trying to run
git review -R
after running
git commit -a --amend
gives following error:
remote: remote: Processing changes: refs: 1 remote: Processing changes: refs: 1, done To ssh://gerrit.wikimedia.org:29418/mediawiki/core.git ! [remote rejected] HEAD -> refs/for/master%topic=T249323 (cannot add patch set to 585759.) error: failed to push some refs to 'ssh://alqaholic007@gerrit.wikimedia.org:29418/mediawiki/core.git'
Steps to replicate the error:
git review -d 585759
- make a change in README file
git commit -a --amend
git review -R
I found a related article at T230916: Cannot amend Gerrit changeset in MediaWiki Core repo (due to not being in addPatchSet?) turns out it is some permissions issue
OS: OSX Mojave
Node: 12.x
git-review: v1.28.0