I am thinking about starting a small project and I want to make its versioning with git.
Bitbucket seems a good option for me with their free plan. I want to use it as the main tool for working with git since they have nice tools like a web-interface, Mac OS client, and so on. But, in order to have higher protection from any accidental damages that can be caused by using a third-party service, I want also to install git on my NAS as a second back-up copy of the repository.
Now my question is, whether it is possible to create a repository on two different hosts and then keep them in sync? For example, suppose once per week I update the repository on my NAS to match the one on Bitbucket. Then, in case something happens with Bitbucket, I will still have the full repository with full history of development on my local NAS storage.
And is there a way to import an existing repository with full history to another git-service?
I think that mirroring is what I need. This article seems to describe exactly what I need. And this one as well.
I believe that it will make full copy with full history and even automatically commit new versions to the repositories on both hosts automatically.
Am I right?
just to be sure from every final build i make a usb backup. But basicly versioning is handled whitin xpdev so its not a real requirement.
BTW if you own a fool proof NASS Raid1 or so you might consider running your own versioning systems there are some freeones too
– user613326 Apr 20 '13 at 17:05I use it with 3 developers, and our code exists at 5 different machines, where there is always a local source copy that gets synced at xp dev.
XP dev is free if you have only a few projects.
– user613326 Apr 21 '13 at 17:12