> I use it to store my code repository [...] Not using Dropbox is not an option for me as I switch machines several times during the day.
I'd suggest you invest in a hosted git repo.
I'd suggest you invest in a hosted git repo.
Just added some rules so that Dropbox quits when I'm in my "mobile" context, but reopens when I am in my "home" or "office" contexts. Will see whether it works on my commute later.
$ git annex add myfile
$ git annex copy --to=NAS myfile
$ git annex get myotherfile
$ git annex drop --from=NAS myotherfile
If the NAS has rsync support, you can add it with a single command: $ git annex initremote NAS type=rsync \
rsyncurl=rsync://example.com/myrsync encryption=<gpg-email>
http://git-annex.branchable.com/