V
V
Vadim2013-04-08 16:34:19
git
Vadim, 2013-04-08 16:34:19

Periodic synchronization of two parallel repos on github

There are two repositories on github, let them be repo1 and repo2. Neither of them is a clone of the other. But there was a task periodically to synchronize them. Don't ask why or why, you just have to. How can this be organized?

Moreover, for simplicity, we will assume that at the moment they are identical in content, and we do not need to synchronize the history of their changes. It is enough if you can take a time interval and roll all the changes made during this period in repo1 to repo2, and vice versa - roll changes in repo2 during this period to repo1.

Is that possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sicness, 2013-04-08
@Sicness

Scheduled
round trip git clone git remote add repo2 git push repo2 origin/master:master
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question