How to keep 2 git repositories in sync automatically

后端 未结 1 1881
礼貌的吻别
礼貌的吻别 2021-01-21 18:05

Having 2 servers which should be in sync with eachothers at all times.

As someone pushes something to the repository of server A, the repository on server B should be up

1条回答
  •  时光说笑
    2021-01-21 18:27

    You could use a post-receive or update Git Hook to push between repositories.

    0 讨论(0)
提交回复
热议问题