Is possible to clone a git bare repo as a new bare repo ? for example:
- git init --bare mainRepo.git
Then in a remote server:
- git clone --bare xxx@server:/path/mainRepo.git repoReplica.git
And then with a cron job send changes from repoReplica.git to mainRepo.git, so I can have 2 teams working, one directly with mainRepo.git and the second with repoReplica.git
Is it possible ? and How ?