-
-
Save praveen-symphony/0bde981d2a75c396452ef1cb0eabfeac to your computer and use it in GitHub Desktop.
How to archive old github private projects on 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
# http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively/1961515#1961515 | |
export REPONAME=???? | |
take ~/Dropbox/git/$REPONAME.git | |
git init --bare | |
cd ~/code/$REPONAME | |
git remote rm origin | |
git remote add origin ~/Dropbox/git/$REPONAME.git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment