Dotfiles and git
As I'm slowly get my system to something that I Like better I've started to think about backing up my dotfiles, I've just usually resorted to setting up everything from scratch, or copy them over with a USB stick.
I have seen that people post their git files to github, but the process of setting up a repository and symlink everything wasn't really that appealing.
So I was scouring the web for some better solution and I stumbled upon dotbare and it's a really neat solution, it basically makes your home directory into a bare github repository, and then sets up some convenience functions for you, it even has some interactive functions built with fzf which really makes working with it comfortable.
I've aliased my dotbare to config, so now it's really easy for me to just edit my configuration files and then go
config fadd
choose the one I want to commit and press enter, then
config commit
And write a little commit message, and ending with
config push
To upload it to github.
It's a really nice way to keep my configfiles updated, and them being public is also a nice chance for me to take some time to comment and clean them up, since some of them have gotten really messy and not very nice.
So now I have at least most of this setup:
up in my git repository and I'm very happy with the workflow. It's really worth a try if you feel like having a nice way of backing up your dotfiles without having to pollute your system with dozens of symliks.