I am looking for a way to sync my git repositories from my Mac to an Intel NUC box I have running Ubuntu. The reason I want to do this is to take the load off my Mac for builds, and just have my Ubuntu box do this when it receives a change to one of the repos. Also, I'd like it to be automatic so that i can play about with Gradles continuous build feature. Has anyone done anything like this, or is this possible? I've been looking into rsync and thinking this is the way to go, but was looking other inputs.
Syncing my git repos across Mac and Linux box for continuous build
662 views Asked by MeanwhileInHell At
3
There are 3 answers
0
On
I really love this tool - Syncthing
- Download binaries for your systems
- Run on both machines (just execute one file)
- Connect machines to each other
- Add desired folders to be synchronized
That's the basic functionality of version control, you can have the same copy of repo on any number of machines.
You can clone your repository on any other machine (linux, window or another mac). Then run a cron job to pull latest changes on new machine periodically.