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)
i had the same issue. Just changed the commit message and pushed the code. It was successful.