Made changes to a commit, performed commit amend. Do a push and I get the error:
! [remote rejected] master -> refs/for/master (no changes made) >
! [remote rejected] master -> refs/for/master (no changes made)
My simple solution is, to update project and then commit and push.
This help, becouse the master and your local branch are inconsistense. This can be, when you maybe rebase on gerrit...