search

Home  >  Q&A  >  body text

github - git: What happens when the source repository is modified after a merge request is made?

That is, I first submit a merge request to the main warehouse
and then I modify my personal warehouse code
At this time, the main warehouse manager accepts the merge request.
In this case, what is merged is the code when I sent the request, or is it the latest version of the code after I modified my personal warehouse code?

天蓬老师天蓬老师2772 days ago729

reply all(2)I'll reply

  • 黄舟

    黄舟2017-05-02 09:52:40

    He accepts PR moment code

    A PR is bound to branch and not to commit

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:52:40

    Merge is the code at the moment you send the merge command

    reply
    0
  • Cancelreply