Git / gerrit, push remote rejected no changes made

前端 未结 9 1527
说谎
说谎 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:38

    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...

提交回复
热议问题