【问题标题】:Trouble when pushing to Git推送到 Git 时出现问题
【发布时间】:2020-04-23 11:19:06
【问题描述】:

我正在尝试提交我的项目,但在推送到 GitLab 时遇到问题:

我收到了这个:

https://gitlab.computing.dcu.ie/prestoa2/2020-ca472-preston-bullock.git ! [拒绝] master -> master(非快进) 错误:未能将一些参考推送到“https://gitlab.computing.dcu.ie/prestoa2/2020-ca472-preston-bullock.git” 提示:更新被拒绝,因为您当前分支的尖端落后 提示:它的远程对应物。集成远程更改(例如 提示:'git pull ...') 在再次推动之前。 提示:有关详细信息,请参阅“git push --help”中的“关于快进的说明”。

我已经运行了命令“git pull”并且这些错误还在继续.. 有什么想法吗?

【问题讨论】:

    标签: gitlab push


    【解决方案1】:

    该错误意味着您需要从远程拉取。就是说,自从您从远程本地更新文件以来,远程发生了一些更改,并且您无法在不拉取最新更改的情况下进行推送。

    【讨论】:

      猜你喜欢
      • 2023-03-16
      • 2017-04-18
      • 2016-12-30
      • 2012-08-11
      • 2021-04-16
      • 2019-04-05
      • 1970-01-01
      • 2016-04-26
      • 1970-01-01
      相关资源
      最近更新 更多