News for hackers. Stuff that matters.
Re:Using git and github to manage your dotfiles by travisbhartwell on Saturday May 05, 2012 @11:03AM (#3932260)
For things that allow this like Emacs and Bash, I separate things into (for example) a config and a config-private repo. The config repo I put on github, and the private repo on my own server.

Then, with the public config file (~/.emacs.d/init.el and ~/.bashrc) I load a file based on the hostname that contains location-specific and private information.

This is useful because I can use the same framework at work and on personal machines. I don't have to mix the two.

There are no comments on this comment yet.