I’ve been getting in the habit of moving preferences, and git repos to dropbox lately. It lets me edit them in one place, and have access to them on multiple machines immediately, which is a huge win for me.

I was talking to a buddy tonight about moving my git config file there, and he had suggesting symlinking with Dropbox. Now, I just need to symlink the same file at home, and I’m working with the same settings on both machines!

Bash

[ ~ ]
$ cd ~/Dropbox/
[ ~/Dropbox ]
$ mkdir dotFiles
[ ~/Dropbox ]
$ mv ~/.gitconfig ~/Dropbox/dotFiles/
[ ~/Dropbox ]
$ ln -s ~/Dropbox/dotFiles/.gitconfig ~/.gitconfig