iugo
V2EX  ›  问与答

GitHub pull requests 如何移除自己从源项目更新时的 merge pull request?

  •  
  •   iugo · Jan 26, 2016 · 1681 views
    This topic created in 3855 days ago, the information mentioned may be changed or developed.
    一段时间没更新, 刚刚从源项目更新, 产生了一条 merge pull request.

    然后对项目进行了一些修改, 想要 pull requests 给源项目, 但是在提交 pull request 的时候发现有两条 commits, 一条是我刚做的更改, 一条是 merge pull request.

    这条 merge pull request 对源项目来说没有意义, 如何只提交我最新更改的 commit?
    1 replies    2016-01-26 12:36:25 +08:00
    zts1993
        1
    zts1993  
       Jan 26, 2016
    不要用 pull 用 rebase 我猜
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   890 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 22:06 · PVG 06:06 · LAX 15:06 · JFK 18:06
    ♥ Do have faith in what you're doing.