updates were rejected because the remote contains work that you do hint: not have locally. this is usually caused by another repository pushing hint: to the same ref. you may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: see the 'note about fast-forwards' in 'git push --help' for details.
时间: 2023-04-25 18:06:10 浏览: 427
git push rejected
更新被拒绝,因为远程包含你本地没有的工作。这通常是由于另一个仓库推送到相同的引用所致。你可能需要先集成远程更改(例如,'git pull...'),然后再次推送。有关详细信息,请参见'git push --help'中的“有关快进的注意事项”。
阅读全文