• 通过rebase,解决gitlab提示的pipeline failed


    • 之前提交的MQ,提示Pipeline failed:

    gitlab提交MQ提示Pipeline failed的解决办法_pipeline:failed_柳鲲鹏的博客-CSDN博客

    • 又报错,给的提示:

    本以为万事大吉。结果发现自己的库也提示有问题。按照上文的办法修改之后还是不对。这就奇怪了。于是就在提交中询问了一下,得到如下答复:

    1. Assuming that you are on your local branch 'quantum6-bitmap-italic', you could do something like the following (untested):
    2. git checkout master
    3. git fetch upstream
    4. git merge upstream/master
    5. git checkout quantum6-bitmap-italic
    6. git rebase master
    7. git push -f
    8. I guess that the git rebase master step will need some manual work.
    • rebase报错:

    大意应该是两个库有关系,结果又有差异。于是操作了一番,报错:

    1. $ git rebase master
    2. Auto-merging src/base/ftsynth.c
    3. Auto-merging src/cff/cffload.c
    4. Auto-merging src/cff/cffparse.c
    5. CONFLICT (content): Merge conflict in src/cff/cffparse.c
    6. Auto-merging src/cff/cffparse.h
    7. Auto-merging src/gzip/rules.mk
    8. CONFLICT (content): Merge conflict in src/gzip/rules.mk
    9. Auto-merging src/sfnt/sfwoff2.c
    10. Auto-merging src/truetype/ttgload.c
    11. CONFLICT (content): Merge conflict in src/truetype/ttgload.c
    12. error: could not apply 6b296c0a6... Add a feature, support to slant a bitmap glyph
    13. hint: Resolve all conflicts manually, mark them as resolved with
    14. hint: "git add/rm ", then run "git rebase --continue".
    15. hint: You can instead skip this commit: run "git rebase --skip".
    16. hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
    17. Could not apply 6b296c0a6... Add a feature, support to slant a bitmap glyph

      到了rebase出错了,说是文件冲突。我就糊涂了:我确认这些文件是完全一样的,怎么就冲突了?猜测是更新时的不同历史造成。这怎么办?

    • rebase --skip

    看到之后的hint,干脆使用了--skip:

    1. $ git rebase --skip
    2. dropping 8d0cadc28ed1b7ff308a0a6db08ee5c771696e8c update to latest -- patch contents already upstream
    3. Successfully rebased and updated refs/heads/quantum6-bitmap-italic.
    4. $ git push -f
    5. warning: redirecting to https://gitlab.freedesktop.org/quantum6/freetype.git/
    6. Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
    7. remote:
    8. remote: View merge request for quantum6-bitmap-italic:
    9. remote: https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/269
    10. remote:
    11. To https://gitlab.freedesktop.org/quantum6/freetype
    12. + 8d0cadc28...d366050b9 quantum6-bitmap-italic -> quantum6-bitmap-italic (forced update)

    到了这里,看起来已经解决了。

  • 相关阅读:
    【前端demo】动态赋值CSS
    中秋快乐! Happy Mid-autumn Festival!
    第四章 数据库安全性
    ChatGPT Prompt方法原理详解
    [免费专栏] Android安全之数据存储与数据安全【大集合】
    C 风格文件输入/输出---错误处理---(std::clearerr,std::feof,std::ferror,std::perror)
    【 WebStorm 】常用快捷键
    PyTorch 模型性能分析和优化 - 第 6 部分
    ar景区智慧导览系统小程序开发源码搭建
    istio系列:第四章-Ingress网关配置
  • 原文地址:https://blog.csdn.net/quantum7/article/details/131734515