If you want to upload a change/commit that is already up2date, gerrit returns the following message in the git push call
! [remote rejected] HEAD -> refs/for/main (no new changes)
error: failed to push some refs to 'gerrit.example.org:software/demo'
This is currently only visible in the magit-process buffer. It would be nice if this message were also output in the echo area.