The Code of No-Code

Aug 12 2013

Using Dropbox and Git

Tagged with:  git dropbox

I use this all the time, but can never remember the steps:

cd ~/Dropbox/Git
git init --bare Project
cd ~/Development/Project
git init
git al
git i 'First commit'
git remote add dropbox ~/Dropbox/Git/Project
git p dropbox master

Edit 2014-08-13:

Turns out this is a horrible idea! Dropbox has a big problem with git and every so often your repos will get irreparably corrupted.