• 请不要在回答技术问题时复制粘贴 AI 生成的内容
edis0n0
V2EX  ›  程序员

原作者不维护的 GitHub 上的开源项目有几百个 PR 没合,我想 fork 一个自己维护,怎么把这些 PR 复制到我的项目下?

  •  
  •   edis0n0 · Sep 26, 2022 · 4791 views
    This topic created in 1505 days ago, the information mentioned may be changed or developed.
    13 replies  •  2022-09-27 15:19:22 +08:00
    lyhiving
    lyhiving
    Sep 26, 2022
    1
    不能吧
    edis0n0
    edis0n0
    OP
    Sep 26, 2022
    3
    @arch9999 这个 pr 全是不同用户的,把它们的 remote 全加进来 pull 吗,测试了下好像不太行
    Jirajine
    Jirajine
    Sep 26, 2022
    4
    把那些提 PR 的 fork 拉到本地 rebase/merge/cherry-pick 到自己的分支。
    maichael
    maichael
    Sep 26, 2022❤️1
    6
    https://github.com/google/git-pull-request-mirror 这个可能能满足你的需求
    haoliang
    haoliang
    Sep 26, 2022
    7
    * git remote add xx-fork repo-url
    * git pull --no-ff xx-fork/xx-branch
    wdwwtzy
    wdwwtzy
    Sep 26, 2022
    8
    不错,方法各异啊
    learningman
    learningman
    Sep 26, 2022❤️5
    9
    直接给原作者发邮件说你想当 maintainer ,直接拉别人的 PR 严格上可能会有版权争议
    zhuweiyou
    zhuweiyou
    Sep 26, 2022
    10
    9L 说得对,可以跟作者沟通,你说你想接手维护,让他把项目转给你.
    YepTen
    YepTen
    Sep 27, 2022
    11
    我也有这想法,这里点名批评阿里开源的 DataX ,开源却不维护,真鸡儿烦!!!
    chenPiMeiHaoChi
    chenPiMeiHaoChi
    Sep 27, 2022❤️1
    12
    @YepTen 阿里的开源都是绩效产物,千万别沾
    yuniorzy
    yuniorzy
    Sep 27, 2022
    13
    @YepTen 阿里开源不维护的库太多了,简直是业界毒瘤。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3141 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 00:56 · PVG 08:56 · LAX 16:56 · JFK 19:56
    ♥ Do have faith in what you're doing.