-
-
Save HungYuHei/1280335 to your computer and use it in GitHub Desktop.
git dropbox
This file contains hidden or 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
~/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