Re:Dotfiles.github.com - A guide to dotfiles on GitHub
by sciurus on Monday April 23, 2012 @09:22PM
(#3881947)
Your script can be pretty simple. E.G. Create symlinks when they don't exist and report errors if creating them would clobber something else:
Remove stale dotfile symlinks:
This assumes you'll use git excludes to keep files you don't want out of your repository. E.G. if you don't want $HOME/.ssh/id_rsa in git then you'd have $DOTFILES/ssh/.gitignore with 'id_rsa' in it. If you try to manage your excludes through the linking you'll end up with a very ugly script like what I have at https://github.com/sciurus/dotfile_management
[ Parent
| on HN ]
There are no comments on this comment yet.