【发布时间】:2020-10-08 23:13:10
【问题描述】:
因为我是 git 的新用户。有人可以帮我解释一下图片中显示的错误吗 picture
【问题讨论】:
-
执行 git pull,如果没有自动合并,则根据需要合并代码。然后你就可以推送代码了。当我开始使用 git 时,我在记住这些步骤时遇到了一些麻烦,这些步骤使它变得更容易:git add -> git commit -> git pull -> git push。希望这会有所帮助!
-
这能回答你的问题吗? How to resolve git error: "Updates were rejected because the tip of your current branch is behind"。在你的推送之前,一个简单的
git pull(正如 Git 本身在你的图片中已经提出的那样)可能已经修复了“错误”。