Skip to content

Instantly share code, notes, and snippets.

@roymax
Created October 19, 2011 07:33
Show Gist options
  • Save roymax/1297677 to your computer and use it in GitHub Desktop.
Save roymax/1297677 to your computer and use it in GitHub Desktop.
git+dropbox
~/project $ git init
~/project $ git add .
~/project $ git commit -m "first commit"
~/project $ cd ~/Dropbox/git
~/Dropbox/git $ mkdir project.git
~/Dropbox/git $ cd project.git
~/Dropbox/git $ git init --bare
~/Dropbox/git $ cd ~/project
~/project $ git remote add origin ~/Dropbox/git/project.git
~/project $ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment