search

Home  >  Q&A  >  body text

github - git synchronization problem?

I need to make frequent changes between the local and the server due to project reasons, so I want to use git to manage it. I want to implement the local warehouse, githubwarehouse and the server together. After the local modification is made, git push origin branch Synchronization, that is, after modifying the local file, use the git push origin branch command to update the github repository and the server together. Now the local repository and the github repository have been synchronized. How to achieve this?

滿天的星座滿天的星座2790 days ago604

reply all(3)I'll reply

  • 習慣沉默

    習慣沉默2017-05-02 09:52:00

    git hook

    reply
    0
  • 为情所困

    为情所困2017-05-02 09:52:00

    Github has a webhook function, you can check it out

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:52:00

    Thanks for the invitation, everyone above has answered

    reply
    0
  • Cancelreply