search

Home  >  Q&A  >  body text

Why do I always resubmit other people's code in git? ? Always appears in pull requests~

Why do I always resubmit other people’s code in git? ?

世界只因有你世界只因有你2826 days ago780

reply all(4)I'll reply

  • 阿神

    阿神2017-05-02 09:35:40

    Before pushing your own code to the remote end, first pull the latest code from the remote end to the local end. If there is a conflict, resolve the conflict and then push it to the remote end.

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:35:40

    It may be because someone else submitted it before you, so after you submit it, you will merge other people's code with your own and submit it again.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:35:40

    Be sure to fetch or pull before each submission

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:35:40

    Pull before pushing to resolve merge conflicts

    reply
    0
  • Cancelreply