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

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

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