Created
May 27, 2011 01:27
-
-
Save brianstorti/994472 to your computer and use it in GitHub Desktop.
Git Dropbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Dropbox | |
mkdir -p repos/myrepo.git | |
cd !$ | |
git --bare init | |
cd ~/Projects/myrepo | |
git remote add dropbox file://$HOME/Dropbox/repos/myrepo.git | |
git push dropbox master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment