How to keep "dot files" under version control?

Posted by andrewsomething on Ask Ubuntu See other posts from Ask Ubuntu or by andrewsomething
Published on 2010-10-14T00:09:07Z Indexed on 2012/06/11 4:47 UTC
Read the original article Hit count: 359

Etckeeper is a great tool for keeping track of changes to your configuration files in /etc A few key things about it really stand out. It can be used with a wide variety of VCSs: git, mercurial, darcs, or bzr. It also does auto commits daily and whenever you install, remove or upgrade package. It also keeps track of file permissions and user/group ownership metadata.

I would also like to keep my "dot files" in my home directory under version control as well, preferably bazaar. Does anyone know if a tool like etckeeper exists for this purpose?

Worst case, I imagine that a simple cron job running bzr add && bzr ci once or twice a day along with adding ~/Documents, ~/Music, ect to the .bzrignore Anyone already doing something similar with a script?

While I'd prefer bazaar, other options might be interesting.

© Ask Ubuntu or respective owner

Related posts about configuration

Related posts about backup