RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / 问题 / 574294
Accepted
Timur  Musharapov
Timur Musharapov
Asked:2020-10-06 05:14:59 +0000 UTC2020-10-06 05:14:59 +0000 UTC 2020-10-06 05:14:59 +0000 UTC

未能推动一些裁判

  • 772

问题是什么?公钥已配置。

$ git push origin master
To https://github.com/merrymaker14/uploadca.git
! [rejected]        master -> master (fetch first)
error: failed to push some refs to https://github.com/merrymaker14/uploadca.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushin
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.
git
  • 5 5 个回答
  • 10 Views

5 个回答

  • Voted
  1. Best Answer
    torokhkun
    2020-10-06T05:19:24Z2020-10-06T05:19:24Z

    服务器上的存储库具有在您克隆后出现的更改。最有可能的是,有人已经将更改推送到其中。为避免将来发生冲突,系统不允许您在更新存储库之前推送您的更改。

    您需要先在本地下载更改:

    git pull
    

    如果有冲突,解决它们,然后系统会让你执行git push。

    • 14
  2. ВячикМячик
    2022-03-10T22:38:28Z2022-03-10T22:38:28Z

    git push --force 你的问题是因为有人对远程存储库进行了更改,你被迫将更新下载到自己 (git pull) 但是使用 top 命令 (git push --force) 我明确表示我不想克隆在远程存储库上更新的版本

    • 2
  3. Utmost Creator
    2020-04-20T03:28:08Z2020-04-20T03:28:08Z

    原因也可能是文件仍在被另一个程序使用。如果你只是

    错误:无法将某些引用推送到“ https://gitlab.com/ ...”

    • 1
  4. ZS8
    2020-09-24T04:28:22Z2020-09-24T04:28:22Z

    我将添加历史记录,如果还没有什么可以推送的话,这可能会发生。使用干净的存储库,而不是第一次提交,尝试推送

    • 1
  5. Farad
    2020-05-15T19:44:16Z2020-05-15T19:44:16Z

    新项目在gitlab上就出现了这样的问题。我这样解决了: 1. 在站点本身的 master 中创建了一个自述文件 2. 做了一个 git 克隆 3. 创建了一个开发分支 4. 将项目移动到当前存储库 5. 推送开发

    • 0

相关问题

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    如何停止编写糟糕的代码?

    • 3 个回答
  • Marko Smith

    onCreateView 方法重构

    • 1 个回答
  • Marko Smith

    通用还是非通用

    • 2 个回答
  • Marko Smith

    如何访问 jQuery 中的列

    • 1 个回答
  • Marko Smith

    *.tga 文件的组重命名(3620 个)

    • 1 个回答
  • Marko Smith

    内存分配列表C#

    • 1 个回答
  • Marko Smith

    常规赛适度贪婪

    • 1 个回答
  • Marko Smith

    如何制作自己的自动完成/自动更正?

    • 1 个回答
  • Marko Smith

    选择斐波那契数列

    • 2 个回答
  • Marko Smith

    所有 API 版本中的通用权限代码

    • 2 个回答
  • Martin Hope
    jfs *(星号)和 ** 双星号在 Python 中是什么意思? 2020-11-23 05:07:40 +0000 UTC
  • Martin Hope
    hwak 哪个孩子调用了父母的静态方法?还是不可能完成的任务? 2020-11-18 16:30:55 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    user207618 Codegolf——组合选择算法的实现 2020-10-23 18:46:29 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    Arch ArrayList 与 LinkedList 的区别? 2020-09-20 02:42:49 +0000 UTC
  • Martin Hope
    iluxa1810 哪个更正确使用:if () 或 try-catch? 2020-08-23 18:56:13 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5