A
A
Alexander2016-07-19 07:47:09
css
Alexander, 2016-07-19 07:47:09

Synchronization of the git repository in two places at once. How?

Good afternoon.
Installed on the local network scm-manager in which the git repository is deployed.
Task: after synchronizing the code to the local git, synchronize it automatically to the remote git repository.
I read a little, as I understand it, it is optimal to dig on the server towards the post receive hook?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cat Anton, 2016-02-11
@mrzgt

svg

D
Danil Biryukov-Romanov, 2016-07-19
@urtow

Yes, or you can add another repository and push to both at once

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question