Git / gerrit, push remote rejected no changes made

前端 未结 9 1601
说谎
说谎 2020-12-22 23:45

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)
         


        
9条回答
  •  我在风中等你
    2020-12-23 00:17

    With this error message Gerrit rejects to push a commit as a new patch set for a change, if the pushed commit is identical to the current patch set of this change.

    A pushed commit is considered to be identical to the current patch set if

    • the files in the commit,
    • the commit message,
    • the author of the commit and
    • the parents of the commit

    are all identical.

提交回复
热议问题