So, at the moment I have a pretty custom dotfiles setup, and I was looking for a solution to synchronize things from machine to machine. I like the idea of ββhaving a ~ / dotfiles file (or similar) that contains a make file that handles creating symbolic links. Move the dotfiles file from machine to machine through rsync / unison / dvcs / whatever, and I'm ready to go.
The problem with this is because the files are slightly different on some machines, and I would like to track this. For example, my .xmobarrc (a panel application for those who are not familiar) has a configuration setting that displays battery life on my laptop, but not on my desktop.
What is the best way to manage files with machine differences like this, so that if I change something on one machine that should affect all machines, I can join together, and if I change on one machine, "Don't merge, it's Obviously, this requires DVCS, such as git, not rsync / unison / etc, but I'm not sure how to install it.
A master branch with one branch per machine that I merge / reinstall / cherry pick back and forth? It seems a little tedious. Is there a better way?
source share