gpt4 book ai didi

android - 推送错误 : master: master [rejected non-fast-forward]

转载 作者:太空狗 更新时间:2023-10-29 13:28:23 24 4
gpt4 key购买 nike

考虑一下,我是 GitHub 的新手。我开始将一个 Android 项目从 eclipse 推送到我的 git 存储库。但经过长时间的尝试,我无法取得成功。我不使用终端或无法使用它。我使用 eclipse 的 EGit 插件。我关注了 YouTube 上的视频教程。

完成从将我的本地 Android 项目推送到远程分支的推送到远程分支的步骤后,出现此错误。

enter image description here

我如何在 GUI 模式下解决这个问题或如何使用终端将本地推送到远程?任何链接或教程都应该受到赞赏。

最佳答案

Push Confirmation ”步骤不是错误:

This will open the Push Confirmation dialog showing a preview which changes will be pushed to the destination repository.
If this does not match your expectation click Back and correct your push specs accordingly.

该消息意味着完成推送的唯一方法是强制它(您将删除远程历史记录,将其替换为您正在推送的历史记录)。

谨慎的做法是首先进行 git pull:有关 EGit 版本,请参阅“Pulling New Changes from Upstream Branch”。

关于android - 推送错误 : master: master [rejected non-fast-forward],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18994287/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com