Skip to content

Instantly share code, notes, and snippets.

@mid9commander
Created October 20, 2010 02:02
Show Gist options
  • Save mid9commander/635617 to your computer and use it in GitHub Desktop.
Save mid9commander/635617 to your computer and use it in GitHub Desktop.
~/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