Kyle R. Burton on 2 Apr 2009 19:19:30 -0700 |
> Has anyone tried putting their entire home directory in git? > > http://lists.madduck.net/listinfo/vcs-home > > I've been considering it for a while now, but haven't yet taken > the plunge. Michael, I wasn't aware of that list, thanks for sharing it. I actually advocated checking in your $HOME during the talk. I do this myself and find that I get a very uneasy feeling now whenever I ssh to a box where I don't have it tracked git. I have also been doing the same for /etc - and both have saved me from myself when changing configurations (eg: breaking the xorg config file). Git makes it really easy to track $HOME. It's typically as easy as an init, then capturing an initial status to the .gitignore file, remove the things you want tracked from the ignore file, leave the stuff you don't want to track (my tmp, large binaries like Movies or Music, my source projects which are their own git repos, some of the dot files which are histories or `recent' file lists, the .mozilla web page cache directory, IPC files and so on). Then an add for all the stuff that's not ignored and I'm good to go. Tracking my $HOME has given me an awareness of what is happening in a way that I never had before. I find that its actually a lot cleaner since it's easy for me to see what's new and decide to either track it or toss it out if it really was temporary. The git reset on /etc followed by a ctrl-alt-backspace was a beautiful thing when I had borked my xorg config... Kyle -- ------------------------------------------------------------------------------ kyle.burton@gmail.com http://asymmetrical-view.com/ ------------------------------------------------------------------------------
|
|